diff --git a/lib/generators/nifty/layout/templates/layout.html.erb b/lib/generators/nifty/layout/templates/layout.html.erb index 390ca90..91968a7 100644 --- a/lib/generators/nifty/layout/templates/layout.html.erb +++ b/lib/generators/nifty/layout/templates/layout.html.erb @@ -3,7 +3,7 @@ <%%= content_for?(:title) ? yield(:title) : "Untitled" %> <%%= stylesheet_link_tag "<%= file_name %>" %> - <%%= javascript_include_tag :defaults %> + <%%= javascript_include_tag "<%= file_name %>" %> <%%= csrf_meta_tag %> <%%= yield(:head) %>