added filter to application controller for authentication, created model associations
[Folio.git] / app / controllers / application.rb
blobbde9c2d29f39a90a03c02a21df61d61e33e1d282
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'
11         
12         
13 end