diff options
author | Sam Ruby <rubys@intertwingly.net> | 2013-03-24 14:38:06 -0400 |
---|---|---|
committer | Sam Ruby <rubys@intertwingly.net> | 2013-03-24 14:38:06 -0400 |
commit | 7a9a7007637b8279501770be03bd84ce83d61ab8 (patch) | |
tree | 1e9e1c361ef05354cd07a757eb0bbec8c555d389 /railties/lib/rails/generators | |
parent | d28247bf567e16e63bb770003f8b97b72d5668fa (diff) | |
download | rails-7a9a7007637b8279501770be03bd84ce83d61ab8.tar.gz rails-7a9a7007637b8279501770be03bd84ce83d61ab8.tar.bz2 rails-7a9a7007637b8279501770be03bd84ce83d61ab8.zip |
Use jquery-rails from github
completes https://github.com/rails/rails/commit/6f3f0f86332004fcee5c2f05d52bbff08c22f980
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index e312afa091..ef39a4b6a8 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -210,9 +210,11 @@ module Rails end def javascript_gemfile_entry + args = {'jquery' => ", github: 'rails/jquery-rails'"} + unless options[:skip_javascript] <<-GEMFILE.strip_heredoc - gem '#{options[:javascript]}-rails' + gem '#{options[:javascript]}-rails'#{args[options[:javascript]]} # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks gem 'turbolinks' |