config/routes.rb in rapporteur-3.3.0 vs config/routes.rb in rapporteur-3.4.0
- old
+ new
@@ -6,10 +6,10 @@
:to => "statuses#show"
})
end
Rails.application.routes.draw do
- unless Rails.application.routes.named_routes.routes[:status]
+ unless Rails.application.routes.named_routes[:status]
mount Rapporteur::Engine => "/"
get("/status.:format", {
:as => :status,
:constraints => {:format => "json"},
:defaults => {:format => "json"},