config/routes.rb in rails_appcache-0.0.2 vs config/routes.rb in rails_appcache-0.0.4
- old
+ new
@@ -1,3 +1,3 @@
RailsAppcache::Engine.routes.draw do
- get ':manifest.appcache' => 'manifests#show', format: 'appcache'
+ get ':manifest-:version.appcache' => 'manifests#show', format: 'appcache', constraints: { version: /[a-zA-Z0-9.]+/ }
end