Class: Rails::Application

Inherits:
Object
  • Object
show all
Defined in:
lib/secret_token_migration/railties/application.rb

Defined Under Namespace

Classes: Configuration

Instance Method Summary collapse

Instance Method Details

#env_config_with_deprecated_secret_tokenObject



7
8
9
10
11
# File 'lib/secret_token_migration/railties/application.rb', line 7

def env_config_with_deprecated_secret_token
  @env_config ||= env_config_without_deprecated_secret_token.merge({
    "action_dispatch.deprecated_secret_token" => config.deprecated_secret_token
  })
end