config/routes.rb in extr-1.0.4 vs config/routes.rb in extr-1.0.5
- old
+ new
@@ -1,10 +1,9 @@
Extr::Engine.routes.draw do
end
Rails.application.routes.draw do
- match "#{Extr::Config::ROUTER_PATH}" => "extr/router#direct",
- :format => false,
- :defaults => { :format => :json },
- :via => :post
+ post "#{Extr::Config::ROUTER_PATH}", to: "extr/router#direct",
+ format: false,
+ defaults: { format: :json }
end