1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #23642 from tvon/chore/fix-path-omission

Fix 'config/production.rb' path in comment
This commit is contained in:
Vipul A M 2016-02-13 00:27:55 +05:30
commit d50d709424
3 changed files with 3 additions and 3 deletions

View file

@ -405,7 +405,7 @@ Please refer to the [Changelog][railties] for detailed changes.
url: http://localhost:3001
namespace: my_app_development
# config/production.rb
# config/environments/production.rb
Rails.application.configure do
config.middleware.use ExceptionNotifier, config_for(:exception_notification)
end

View file

@ -901,7 +901,7 @@ your CDN server, you need to tell browsers to use your CDN to grab assets
instead of your Rails server directly. You can do this by configuring Rails to
set your CDN as the asset host instead of using a relative path. To set your
asset host in Rails, you need to set `config.action_controller.asset_host` in
`config/production.rb`:
`config/environments/production.rb`:
```ruby
config.action_controller.asset_host = 'mycdnsubdomain.fictional-cdn.com'

View file

@ -214,7 +214,7 @@ module Rails
# url: http://localhost:3001
# namespace: my_app_development
#
# # config/production.rb
# # config/environments/production.rb
# Rails.application.configure do
# config.middleware.use ExceptionNotifier, config_for(:exception_notification)
# end