Created
October 22, 2009 17:33
-
-
Save marciol/216114 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Filters added to this controller apply to all controllers in the application. | |
# Likewise, all the methods added will be available for all controllers. | |
class ApplicationController < ActionController::Base | |
helper :all # include all helpers, all the time | |
protect_from_forgery # See ActionController::RequestForgeryProtection for details | |
# Este layout tem precedência sobre a convenção do rails. | |
layout 'blog' | |
# Scrub sensitive parameters from your log | |
# filter_parameter_logging :password | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment