1 # Filters added to this controller apply to all controllers in the application.
2 # Likewise, all the methods added will be available for all controllers.
4 class ApplicationController < ActionController::Base
5 before_filter :login_from_cookie
6 helper :all # include all helpers, all the time
8 # See ActionController::RequestForgeryProtection for details
9 # Uncomment the :secret if you're not using the cookie session store
10 protect_from_forgery # :secret => '2fa76b213c12006c33dd29f05e672d4e'