Browse files

remove secret_token.rb

  • Loading branch information...
1 parent 9f84518 commit 5ae6861608218d3bf18b2bf051ee654564be87b3 @flyerhzm flyerhzm committed Feb 3, 2013
Showing with 2 additions and 7 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 config/deploy/recipes/shared_configs.rb
  3. +0 −7 config/initializers/secret_token.rb
View
1 .gitignore
@@ -7,6 +7,7 @@ tmp/
config/database.yml
config/github.yml
config/mailers.yml
+config/initializers/secret_token.rb
NERD_tree_1
bin/
coverage/
View
1 config/deploy/recipes/shared_configs.rb
@@ -3,6 +3,7 @@
namespace :deploy do
task :update_shared_configs do
run "ln -nfs #{shared_path}/config/*.yml #{release_path}/config/"
+ run "ln -nfs #{shared_path}/config/initializers/secret_token.rb #{release_path}/configs/secret_token.rb"
run "ln -nfs #{shared_path}/builds #{release_path}/builds"
run "cd #{release_path}; bundle exec rails_best_practices -g"
end
View
7 config/initializers/secret_token.rb
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-RailsbpCom::Application.config.secret_token = '3ec409d02c71a93e08603efc0293be610f7e74cc70e3bf8631e1104f2226a831841a64d52ba8998d59e14d856e7f094de1bc74b3ab7bdd30f18b2e5f9750c661'

0 comments on commit 5ae6861

Please sign in to comment.