mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fa207c2446
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
7 lines
342 B
Ruby
7 lines
342 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
|
|
# Pick a unique cookie name to distinguish our session data from others'
|
|
session :session_key => '_<%= app_name %>_session_id'
|
|
end
|