hi,just installed latest CE and i added a model which i want assign the current user to. it looks likek this: class ProductsController < BaseController def create @product= Product.new(params[:producttest]) @product.user = current_user end
but current_user is not present. how do i access the current user? thx -- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to communityengine@googlegroups.com. To unsubscribe from this group, send email to communityengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/communityengine?hl=en.