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'
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