diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-12-09 21:54:57 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-12-09 21:54:57 +0000 |
commit | a053b5b7727fbd57c91f78cf52c1ba17617df51e (patch) | |
tree | 210c69b848e65eb12d8527eb8614b332457499bc | |
parent | d217ec2a47122484fd00f3bcf05040b9e06b8859 (diff) | |
download | redmine-a053b5b7727fbd57c91f78cf52c1ba17617df51e.tar.gz redmine-a053b5b7727fbd57c91f78cf52c1ba17617df51e.zip |
Set explicit session store since Rails 2.0 default one (cookie) can not be used.
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@967 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | rails-2.0/config/environment.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rails-2.0/config/environment.rb b/rails-2.0/config/environment.rb index 447e47e21..dced5993e 100644 --- a/rails-2.0/config/environment.rb +++ b/rails-2.0/config/environment.rb @@ -23,6 +23,7 @@ Rails::Initializer.run do |config| # Use the database for sessions instead of the file system # (create the session table with 'rake create_sessions_table') # config.action_controller.session_store = :active_record_store + config.action_controller.session_store = :PStore # Enable page/fragment caching by setting a file-based store # (remember to create the caching directory and make it readable to the application) |