Permalink
Browse files

Fix generated paths to asset files.

  • Loading branch information...
1 parent 1176329 commit ae0e8453fc4013e1033dd9158b3bd9fe351b1247 @booch committed Sep 9, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 config/application.rb
View
@@ -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

0 comments on commit ae0e845

Please sign in to comment.