summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'projects/devdashboard/app/controllers/application.rb')
-rw-r--r--projects/devdashboard/app/controllers/application.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/projects/devdashboard/app/controllers/application.rb b/projects/devdashboard/app/controllers/application.rb
new file mode 100644
index 0000000..84f77a6
--- /dev/null
+++ b/projects/devdashboard/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 => '_devdashboard_session_id'
+end