mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-21 21:40:48 +02:00
Use modern config namespace
This commit is contained in:
parent
ccf0b45f27
commit
c88b1d463f
3 changed files with 4 additions and 4 deletions
|
@ -2,6 +2,6 @@
|
|||
|
||||
require ::File.expand_path('../config/environment', __FILE__)
|
||||
|
||||
map Tracksapp::Application.config.relative_url_root || "/" do
|
||||
map Rails.application.config.relative_url_root || "/" do
|
||||
run Rails.application
|
||||
end
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Tracksapp::Application.configure do
|
||||
Rails.application.configure do
|
||||
# Settings specified here will take precedence over those in config/application.rb
|
||||
|
||||
# The test environment is used exclusively to run your application's
|
||||
|
|
|
@ -9,4 +9,4 @@
|
|||
|
||||
# Make sure your secret_key_base is kept private
|
||||
# if you're sharing your code publicly.
|
||||
Tracksapp::Application.config.secret_key_base = SITE_CONFIG["secret_token"] || SecureRandom.hex(64)
|
||||
Rails.application.config.secret_key_base = SITE_CONFIG["secret_token"] || SecureRandom.hex(64)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue