config/routes.rb in presenting-2.0.3 vs config/routes.rb in presenting-2.1.0
- old
+ new
@@ -1,8 +1,8 @@
Rails.application.routes.draw do
namespace :presentation do
controller 'assets' do
- match 'stylesheets/:id.:format', :as => 'stylesheet', :action => 'stylesheet', :constraints => {:format => 'css'}
- match 'javascript/:id.:format', :as => 'javascript', :action => 'javascript', :constraints => {:format => 'js'}
+ match 'stylesheets/:id.:format', :as => 'stylesheet', :action => 'stylesheet', :via => [:get], :constraints => {:format => 'css'}
+ match 'javascript/:id.:format', :as => 'javascript', :action => 'javascript', :via => [:get], :constraints => {:format => 'js'}
end
end
end