aboutsummaryrefslogtreecommitdiffstats
path: root/railties/environments
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2007-02-24 22:36:52 +0000
committerRick Olson <technoweenie@gmail.com>2007-02-24 22:36:52 +0000
commitad9bacb189e82816bf333cdbae329f199a171c9f (patch)
tree2483b3974842ba9a6e3cece598f4be9971294015 /railties/environments
parent08a533645eb2bb15aeb91528c3c01ea6fc742569 (diff)
downloadrails-ad9bacb189e82816bf333cdbae329f199a171c9f.tar.gz
rails-ad9bacb189e82816bf333cdbae329f199a171c9f.tar.bz2
rails-ad9bacb189e82816bf333cdbae329f199a171c9f.zip
fix app generator
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/environments')
-rw-r--r--railties/environments/environment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/environments/environment.rb b/railties/environments/environment.rb
index 162dbb4fe1..05403ad88a 100644
--- a/railties/environments/environment.rb
+++ b/railties/environments/environment.rb
@@ -30,7 +30,7 @@ Rails::Initializer.run do |config|
# If you change this key, all old sessions will become invalid!
config.action_controller.session = {
:session_key => '_<%= app_name %>_session',
- :secret => '<%= CGI::Session.generate_unique_id(app_name) %>'
+ :secret => '<%= app_secret %>'
}
# Use the database for sessions instead of the file system