Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Nifty Layout, Rails 3.1, broken javascript #125

Open
skrabadiloseidon opened this issue Aug 10, 2011 · 5 comments
Open

Nifty Layout, Rails 3.1, broken javascript #125

skrabadiloseidon opened this issue Aug 10, 2011 · 5 comments

Comments

@skrabadiloseidon
Copy link

"rails g nifty:layout" generates an application.html.erb with invalid javascript_include_tag.
When manually changed to "<%= javascript_include_tag 'application' %>" instead of
"<%= javascript_include_tag :defaults %>" it works for me.

@chabgood
Copy link

Yes I had this same issue a minute ago.

@andreimoment
Copy link

+1.

@wuliwong
Copy link

+2 i had the same issue and skrabadiloseidon's solution fixed it. gracias. this has been an issue for 9 months!!

@ssteigen
Copy link

ssteigen commented Jun 6, 2012

+3

@reagleton
Copy link

Yes, I just encountered this problem too in Rails 3.2. A commit (#157) has been provided but has not been included in the master yet.

Considering that I generated my app with the standard Rails generator and the :defaults symbol is not recognised from this, it would be better to change to follow the standard wouldn't it? How does one get the :defaults symbol working anyway?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants