diff --git a/lib/rollout_ui/engine/app/controllers/rollout_ui/features_controller.rb b/lib/rollout_ui/engine/app/controllers/rollout_ui/features_controller.rb index 84b87a8..4659196 100644 --- a/lib/rollout_ui/engine/app/controllers/rollout_ui/features_controller.rb +++ b/lib/rollout_ui/engine/app/controllers/rollout_ui/features_controller.rb @@ -1,6 +1,6 @@ module RolloutUi class FeaturesController < RolloutUi::ApplicationController - before_filter :wrapper, :only => [:index] + before_action :wrapper, :only => [:index] def index @features = @wrapper.features.map{ |feature| RolloutUi::Feature.new(feature) } diff --git a/lib/rollout_ui/engine/app/views/rollout_ui/features/_feature.html.erb b/lib/rollout_ui/engine/app/views/rollout_ui/features/_feature.html.erb index 68716cd..47af39a 100644 --- a/lib/rollout_ui/engine/app/views/rollout_ui/features/_feature.html.erb +++ b/lib/rollout_ui/engine/app/views/rollout_ui/features/_feature.html.erb @@ -5,7 +5,7 @@