method
javascript_gemfile_entry
v4.0.2 -
Show latest stable
- Class:
Rails::Generators::AppBase
javascript_gemfile_entry()protected
No documentation available.
# File railties/lib/rails/generators/app_base.rb, line 227
def javascript_gemfile_entry
unless options[:skip_javascript]
#{coffee_gemfile_entry} #{javascript_runtime_gemfile_entry} # Use #{options[:javascript]} as the JavaScript library gem '#{options[:javascript]}-rails' # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks gem 'turbolinks'.gsub(/^[ \t]+/, '')
end
end