Skip to content

Loading…

"application" javascript file is much more useful. #157

Open
wants to merge 1 commit into from

4 participants

@sadfuzzy

No description provided.

@jschuur

Agreed. Just ran into this problem myself.

@kbackowski

:+1:

Any chance for merging this in and release a patch ? :)

@sadfuzzy

The release merge has gone and this did not came in :(

@mion

Same thing here! Gets me every time I create a new app. :+1: Hmm it's been over a year now, why not merge it already..?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 12, 2012
  1. @sadfuzzy
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/generators/nifty/layout/templates/layout.html.erb
View
2 lib/generators/nifty/layout/templates/layout.html.erb
@@ -3,7 +3,7 @@
<head>
<title><%%= content_for?(:title) ? yield(:title) : "Untitled" %></title>
<%%= stylesheet_link_tag "<%= file_name %>" %>
- <%%= javascript_include_tag :defaults %>
+ <%%= javascript_include_tag "<%= file_name %>" %>
<%%= csrf_meta_tag %>
<%%= yield(:head) %>
</head>
Something went wrong with that request. Please try again.