Skip to content

Commit

Permalink
In Rails 2.3.2 Application Controller needs to be called "application…
Browse files Browse the repository at this point in the history
…_controller.rb"

Signed-off-by: Ryan Daigle <ryan@yfactorial.com>
  • Loading branch information
StuFF mc authored and yfactorial committed Jun 3, 2009
1 parent c89b29c commit 7c58551
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions sample_rails_app/app/controllers/application_controller.rb
@@ -0,0 +1,15 @@
# 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

# See ActionController::RequestForgeryProtection for details
# Uncomment the :secret if you're not using the cookie session store
protect_from_forgery # :secret => '49917d2bb094a73a366c1b0a77e0e35e'

# See ActionController::Base for details
# Uncomment this to filter the contents of submitted sensitive data parameters
# from your application log (in this case, all fields with names like "password").
# filter_parameter_logging :password
end

0 comments on commit 7c58551

Please sign in to comment.