Tweaked the authentication system a little bit.
[lyrix.git] / app / controllers / application.rb
blob6e92018069e690a02bb0e08be2e983024d89429b
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   # Pick a unique cookie name to distinguish our session data from others'
6   session :session_key => '_lyrix_session_id'
7   #session :off
8   
9   # Be sure to include AuthenticationSystem in Application Controller instead
10   include AuthenticatedSystem
11   # If you want "remember me" functionality, add this before_filter to Application Controller
12   before_filter :login_from_cookie
13 end