summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-10 17:58:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-10 17:58:07 +0000
commit6d9490ddcc9c501d31a8b403146cd4ba6d8cc5b5 (patch)
treead4a6a8cbc3ec2dadf61886a67c19ffc66ec6710 /config
parentf58db70bdecdbfd0a0d81c0c452d58b88391f9f1 (diff)
downloadredmine-6d9490ddcc9c501d31a8b403146cd4ba6d8cc5b5.tar.gz
redmine-6d9490ddcc9c501d31a8b403146cd4ba6d8cc5b5.zip
Merged Rails 2.0 compatibility changes.
Compatibility with Rails 1.2 is preserved. git-svn-id: http://redmine.rubyforge.org/svn/trunk@975 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r--config/environment.rb1
-rw-r--r--config/environments/development.rb3
2 files changed, 1 insertions, 3 deletions
diff --git a/config/environment.rb b/config/environment.rb
index 447e47e21..dced5993e 100644
--- a/config/environment.rb
+++ b/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)
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 04b779200..c816f03e3 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -8,9 +8,6 @@ config.cache_classes = false
# Log error messages when you accidentally call methods on nil.
config.whiny_nils = true
-# Enable the breakpoint server that script/breakpointer connects to
-config.breakpoint_server = true
-
# Show full error reports and disable caching
config.action_controller.consider_all_requests_local = true
config.action_controller.perform_caching = false