Advertisement
Guest User

Untitled

a guest
May 24th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. def create
  2. @entry = Entry.create(entry_params)
  3. redirect_to "http://localhost:3000/entries"
  4. end
  5.  
  6. class ApplicationController < ActionController::Base
  7. protect_from_forgery with: :exception
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement