ruby - In Rails Can we pass a parameters to a new Action -


I would like to write a message using the instince variable in this new attack action Redirect_to new_invitation_path ("Invite your friend ")

Controller Invitation:

  Def New (Message) @ Message = Message @from_user_id = facebook_session.user.to_s end  

I think redirect_to goes through the client, so you

may need to use the parameter [

Comments