diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-07-16 07:32:40 +0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-17 01:59:50 +0800 |
commit | 041e47b326badfbe1b5e33df172e123386c288ac (patch) | |
tree | f7aebe768231bb1f7ab109f978409f2c73b8491e /railties/lib | |
parent | 1b2824b6591deee1211f799dc5ce71a7a718953b (diff) | |
download | rails-041e47b326badfbe1b5e33df172e123386c288ac.tar.gz rails-041e47b326badfbe1b5e33df172e123386c288ac.tar.bz2 rails-041e47b326badfbe1b5e33df172e123386c288ac.zip |
Explain how to change javascript default files
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/application.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/application.rb b/railties/lib/rails/generators/rails/app/templates/config/application.rb index 67a38ea1d5..589f7e674a 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/application.rb +++ b/railties/lib/rails/generators/rails/app/templates/config/application.rb @@ -39,6 +39,9 @@ module <%= app_const_base %> # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] # config.i18n.default_locale = :de + # Add your default javascripts + # config.action_view.javascript_expansions[:defaults] = %w(jquery rails) + # Configure generators values. Many other options are available, be sure to check the documentation. # config.generators do |g| # g.orm :active_record |