Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def create
- @entry = Entry.create(entry_params)
- redirect_to "http://localhost:3000/entries"
- end
- class ApplicationController < ActionController::Base
- protect_from_forgery with: :exception
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement