cours0708/P5B/ruby/mon_projet/app/controllers/application.rb
2008-11-25 22:11:16 +01:00

10 lines
445 B
Ruby

# 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
# Be sure to include AuthenticationSystem in Application Controller instead
include AuthenticatedSystem
# Pick a unique cookie name to distinguish our session data from others'
session :session_key => '_mon_projet_session_id'
end