Permalink
Browse files

Only filter on index

  • Loading branch information...
jcmuller committed Apr 10, 2012
1 parent 463af6f commit 0e09d555e297701d85e81a011465b414e806986a
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rollout_ui/engine/app/controllers/rollout_ui/features_controller.rb
@@ -1,6 +1,6 @@
module RolloutUi
class FeaturesController < ApplicationController
- before_filter :wrapper
+ before_filter :wrapper, :only => [:index]
def index
@features = @wrapper.features.map{ |feature| RolloutUi::Feature.new(feature) }

0 comments on commit 0e09d55

Please sign in to comment.