aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/application.rb')
-rw-r--r--app/controllers/application.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/controllers/application.rb b/app/controllers/application.rb
new file mode 100644
index 000000000..dcae8385b
--- /dev/null
+++ b/app/controllers/application.rb
@@ -0,0 +1,7 @@
+# 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 => '_foi_session_id'
+end