Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix generated paths to asset files.

  • Loading branch information...
commit ae0e8453fc4013e1033dd9158b3bd9fe351b1247 1 parent 1176329
@booch authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 config/application.rb
View
4 config/application.rb
@@ -49,5 +49,9 @@ class Application < Rails::Application
# Precompile *all* assets, except those that start with underscore
config.assets.precompile << /(^[^_\/]|\/[^_])[^\/]*$/
+
+ # Don't start the asset references with "/", since that's the device root path for WebOS.
+ config.action_controller.relative_url_root = "."
+ config.assets.prefix = 'assets'
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.