cours0708/P5B/ruby/mon_projet/app/controllers/application.rb

10 lines
445 B
Ruby
Raw Normal View History

2008-11-25 21:11:16 +00:00
# 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