Skip to content

Commit

Permalink
Silence deprecation warning
Browse files Browse the repository at this point in the history
DEPRECATION WARNING: Using `Rails::Application` subclass to start the server is deprecated and will be removed in Rails 6.0. Please change `run SmartAnswers::Application` to `run Rails.application` in config.ru. (called from require at bin/rails:4)
  • Loading branch information
Tatiana Stantonian authored and barrucadu committed Nov 2, 2018
1 parent 28771f1 commit 019c8b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.ru
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment', __FILE__)
run SmartAnswers::Application
run Rails.application

0 comments on commit 019c8b8

Please sign in to comment.