diff options
| author | Luc Donnet | 2015-02-20 15:33:05 +0100 | 
|---|---|---|
| committer | Luc Donnet | 2015-02-20 15:33:05 +0100 | 
| commit | 35bf9fa59c5486905f642f32fe741f7fcbdb9101 (patch) | |
| tree | dfc06d91e5fe3742ce4c5ebdcea362d7d76bb6ea /config/environment.rb | |
| parent | ad74d12ada2bbe2fe961424a3ce529f28cc157da (diff) | |
| download | chouette-core-35bf9fa59c5486905f642f32fe741f7fcbdb9101.tar.bz2 | |
Update config in a true Rails 4 way
Diffstat (limited to 'config/environment.rb')
| -rw-r--r-- | config/environment.rb | 7 | 
1 files changed, 3 insertions, 4 deletions
| diff --git a/config/environment.rb b/config/environment.rb index 4524c894c..f9896ef9d 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -1,9 +1,8 @@ -# Load the rails application +# Load the Rails application.  require File.expand_path('../application', __FILE__) - -# Initialize the rails application -ChouetteIhm::Application.initialize! +# Initialize the Rails application. +Rails.application.initialize!  # Fix version  APP_VERSION = '2.5.2' | 
