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
This commit is contained in:
Eric Davis 2009-12-30 00:46:48 +00:00
parent 4b3d4553e4
commit 4cf2e7c216
1 changed files with 3 additions and 0 deletions

View File

@ -22,3 +22,6 @@ ActionController::Base.session = {
EOF EOF
end end
end end
desc 'Generates a configuration file for cookie store sessions.'
task :generate_session_store => ['config/initializers/session_store.rb']