aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorMehmet Emin İNAÇ <mehmetemininac@gmail.com>2015-07-02 16:18:49 +0300
committerMehmet Emin İNAÇ <mehmetemininac@gmail.com>2015-07-02 16:18:49 +0300
commit2ccae54d645d968cf3388f2a9a78aebb83811fd9 (patch)
treeb94eaf71845eae359be565263372cbc7b5f8c943 /railties/lib/rails
parent776e5991a9abf11818cb803e80976cea8b454c17 (diff)
downloadrails-2ccae54d645d968cf3388f2a9a78aebb83811fd9.tar.gz
rails-2ccae54d645d968cf3388f2a9a78aebb83811fd9.tar.bz2
rails-2ccae54d645d968cf3388f2a9a78aebb83811fd9.zip
Change wrong usage in documentation about autoload_paths [ci skip]
We can't use this configuration outside of the application.rb
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/generators/actions.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/actions.rb b/railties/lib/rails/generators/actions.rb
index 560a553789..b4356f71e0 100644
--- a/railties/lib/rails/generators/actions.rb
+++ b/railties/lib/rails/generators/actions.rb
@@ -92,11 +92,11 @@ module Rails
# file in <tt>config/environments</tt>.
#
# environment do
- # "config.autoload_paths += %W(#{config.root}/extras)"
+ # "config.action_controller.asset_host = 'cdn.provider.com'"
# end
#
# environment(nil, env: "development") do
- # "config.autoload_paths += %W(#{config.root}/extras)"
+ # "config.action_controller.asset_host = 'localhost:3000'"
# end
def environment(data=nil, options={})
sentinel = /class [a-z_:]+ < Rails::Application/i