Skip to content

Commit

Permalink
Fix including scripts in prod mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmire committed Apr 3, 2012
1 parent 658687d commit 3ee423d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def scripts(group)
if APP_ENV == 'development'
Jammit.packager.individual_urls(group.to_sym, :js)
else
Jammit.asset_url(group.to_sym, :js)
[Jammit.asset_url(group.to_sym, :js)]
end
html << javascript_include_tag('/javascripts/vendor/ender.js')
html << javascript_include_tag('/javascripts/app/common/ender_ext.js')
Expand Down

0 comments on commit 3ee423d

Please sign in to comment.