config/routes.rb in feature_gate-0.1.1 vs config/routes.rb in feature_gate-0.1.2
- old
+ new
@@ -1,3 +1,5 @@
-Rails.application.routes.draw do
- resources :feature_gates, only: [:index, :update]
+FeatureGate::Engine.routes.draw do
+ resources :gated_features, only: [:index, :update]
+
+ root to: 'gated_features#index'
end