summaryrefslogtreecommitdiff
path: root/config/environment.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-03-24 11:10:48 +0100
committerAzul <azul@riseup.net>2016-05-02 08:28:42 -0300
commit54661746ffa9f113c6b489a4d5ba170a27874ad1 (patch)
treeb4edf1d9804c1a77e6f738cf745563cc410d7427 /config/environment.rb
parent464c2b463522cdb5e4577b1b9ab7ffb890788d94 (diff)
upgrade: migrate config
environment.rb boot.rb application.rb -> adopted according to http://railsdiff.org/3.2.22.2/4.2.6 Also dropped quite_assets - not sure if this is still needed with rails 4.2. If it is we can bring it back.
Diffstat (limited to 'config/environment.rb')
-rw-r--r--config/environment.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/environment.rb b/config/environment.rb
index fe16a54..00a613f 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -1,5 +1,5 @@
-# Load the rails application
+# Load the rails application.
require File.expand_path('../application', __FILE__)
-# Initialize the rails application
-LeapWeb::Application.initialize!
+# Initialize the rails application.
+Rails.application.initialize!