You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CommunityEngine
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
sethg
unread,
Apr 3, 2012, 11:57:35 AM4/3/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message