Guest User

Untitled

a guest
Jul 16th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. # app/controllers/application_controller.rb
  2.  
  3. # Filters added to this controller apply to all controllers in the application.
  4. # Likewise, all the methods added will be available for all controllers.
  5.  
  6. class ApplicationController < ActionController::Base
  7. helper :all # include all helpers, all the time
  8. protect_from_forgery # See ActionController::RequestForgeryProtection for details
  9.  
  10. # Scrub sensitive parameters from your log
  11. # filter_parameter_logging :password
  12. end
Add Comment
Please, Sign In to add comment