lib/jammit/packager.rb in jammit-0.4.2 vs lib/jammit/packager.rb in jammit-0.4.3

- old
+ new

@@ -5,10 +5,10 @@ # contents of an asset package, the Packager knows how to cache that package # with the correct timestamps. class Packager # In Rails, the difference between a path and an asset URL is "public". - PATH_TO_URL = /\A#{Regexp.escape(ASSET_ROOT)}(\/public)?/ + PATH_TO_URL = /\A#{Regexp.escape(ASSET_ROOT)}(\/?public)?/ # Set force to false to allow packages to only be rebuilt when their source # files have changed since the last time their package was built. attr_accessor :force \ No newline at end of file