Advertisement
Guest User

Untitled

a guest
Nov 21st, 2013
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rails 0.14 KB | None | 0 0
  1.     def create
  2.         @event = Event.new(params[:post])
  3.  
  4.         if @event.save
  5.             redirect_to events_path
  6.         else
  7.             render "user_details"
  8.         end
  9.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement