Browse Source

Upgrade to new rails 4 behaviour.

Martin Edenhofer 9 years ago
parent
commit
67c708daa5
2 changed files with 8 additions and 7 deletions
  1. 0 7
      config/initializers/secret_token.rb
  2. 8 0
      config/secrets.yml

+ 0 - 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.
-Zammad::Application.config.secret_token = '7e2713d027d0cd980171f483a37bff6304f7e994f07f337b6130fec20c2e9c8f8093a9fc70128f13fe9d006f7f785064c8e612e92c6171cb35ba675b626f633d'

+ 8 - 0
config/secrets.yml

@@ -0,0 +1,8 @@
+development:
+  secret_key_base: secret_key_base_is_not_used
+
+test:
+  secret_key_base: secret_key_base_is_not_used
+
+production:
+  secret_key_base: secret_key_base_is_not_used