Permalink
Browse files

Explain how to change javascript default files

  • Loading branch information...
1 parent 1b2824b commit 041e47b326badfbe1b5e33df172e123386c288ac @spastorino spastorino committed with tenderlove Jul 15, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 railties/lib/rails/generators/rails/app/templates/config/application.rb
@@ -39,6 +39,9 @@ class Application < Rails::Application
# 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

0 comments on commit 041e47b

Please sign in to comment.