Stubbing in a new Rails2 app so that I can walk through some of the Rails2 -> Rails3 problems in miniature

This commit is contained in:
Dan Buch
2012-03-03 23:53:30 -05:00
parent 92f8b24f6a
commit 2a3ed69653
47 changed files with 8505 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# 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
# Scrub sensitive parameters from your log
# filter_parameter_logging :password
end

View File

@@ -0,0 +1,3 @@
# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
end