summaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2009-12-30 00:46:48 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2009-12-30 00:46:48 +0000
commit4cf2e7c216ab73c77f95776ad9b4699eb162a6af (patch)
treef444d2cc2bf8e9a2ffd288ed915d562368073021 /lib/tasks
parent4b3d4553e4388b4cda6d6cc5cfaa5418b45e7d26 (diff)
downloadredmine-4cf2e7c216ab73c77f95776ad9b4699eb162a6af.tar.gz
redmine-4cf2e7c216ab73c77f95776ad9b4699eb162a6af.zip
Added a second rake task to generate the session store file.
`rake generate_session_store` A lot of people think `rake config/initializers/session_store.rb` needs to have an existing session_store.rb file in order to generate it. This task will make it easier to explain and document. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3267 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/initializers.rake3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tasks/initializers.rake b/lib/tasks/initializers.rake
index a81c4681a..ce8747504 100644
--- a/lib/tasks/initializers.rake
+++ b/lib/tasks/initializers.rake
@@ -22,3 +22,6 @@ ActionController::Base.session = {
EOF
end
end
+
+desc 'Generates a configuration file for cookie store sessions.'
+task :generate_session_store => ['config/initializers/session_store.rb']