README.md in flip-1.0.0 vs README.md in flip-1.0.1
- old
+ new
@@ -136,23 +136,23 @@
class Admin::FeaturesController < Flip::FeaturesController
before_filter :assert_authenticated_as_admin
end
```
-app/controllers/admin/feature_strategies_controller.rb:
+app/controllers/admin/strategies_controller.rb:
```ruby
-class Admin::FeatureStrategiesController < Flip::FeaturesController
+class Admin::StrategiesController < Flip::StrategiesController
before_filter :assert_authenticated_as_admin
end
```
routes.rb:
```ruby
namespace :admin do
resources :features, only: [ :index ] do
- resources :feature_strategies, only: [ :update, :destroy ]
+ resources :strategies, only: [ :update, :destroy ]
end
end
mount Flip::Engine => "/admin/features"
```