Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix production js includes

  • Loading branch information...
commit fde1118eb549bd23b3a1ea8bf83d0a7e8363a522 1 parent 0c4c9d5
@mislav authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app.rb
View
2  app.rb
@@ -30,7 +30,7 @@
helpers do
def javascript_includes
- assets = settings.production? ? 'all.js' : JS_ASSETS.map {|f| File.basename(f, '.*') + '.js' }
+ assets = settings.production? ? %w[all.js] : JS_ASSETS.map {|f| File.basename(f, '.*') + '.js' }
assets.map {|a| %(<script src="/#{a}"></script>) }.join("\n")
end
Please sign in to comment.
Something went wrong with that request. Please try again.