Permalink
Browse files

Fix the app generator of cookie_verification_secret.rb

  • Loading branch information...
dhh committed Dec 16, 2009
1 parent 1c3711b commit 48cd7dfcf8f1408288018ef1b971a4f52b4dc61f
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails_generator/generators/applications/app/app_generator.rb
@@ -194,7 +194,7 @@ def create_initializer_files(m)
m.template "configs/initializers/session_store.rb", "config/initializers/session_store.rb",
:assigns => { :app_name => @app_name, :app_secret => ActiveSupport::SecureRandom.hex(64) }
- m.template "configs/initializers/cookie_verification_secret.rb",
+ m.template "configs/initializers/cookie_verification_secret.rb", "config/initializers/cookie_verification_secret.rb",
:assigns => { :app_secret => ActiveSupport::SecureRandom.hex(64) }
end

0 comments on commit 48cd7df

Please sign in to comment.