diff options
author | francis <francis> | 2007-08-01 10:25:55 +0000 |
---|---|---|
committer | francis <francis> | 2007-08-01 10:25:55 +0000 |
commit | b1b3c7b5f4e13ba332d92c962d024a8658b9ee4b (patch) | |
tree | 8d475b768e6029ad683125568ef453896cb9a8a2 /app |
Default Rails gumph.
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/application.rb | 7 | ||||
-rw-r--r-- | app/helpers/application_helper.rb | 3 |
2 files changed, 10 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 diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb new file mode 100644 index 000000000..22a7940eb --- /dev/null +++ b/app/helpers/application_helper.rb @@ -0,0 +1,3 @@ +# Methods added to this helper will be available to all templates in the application. +module ApplicationHelper +end |