1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove unnecessary javascript option check

Follow up to #28546
This commit is contained in:
yuuji.yaginuma 2017-03-29 07:56:54 +09:00
parent 5ac89b168b
commit fcf2430cb4

View file

@ -11,9 +11,6 @@
// about supported directives. // about supported directives.
// //
<% unless options[:skip_javascript] -%> <% unless options[:skip_javascript] -%>
<% if options[:javascript] -%>
//= require <%= options[:javascript] %>
<% end -%>
//= require rails-ujs //= require rails-ujs
<% unless options[:skip_turbolinks] -%> <% unless options[:skip_turbolinks] -%>
//= require turbolinks //= require turbolinks