aboutsummaryrefslogtreecommitdiffstats
path: root/railties/helpers/application.rb
blob: 99e4b0d1cf4ba9806310910702634eac963b7fec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# 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'

  # Or disable sessions entirely.
  #session :off
end