app/controllers/mixins/generic_feature_action_mixin.rb
# This function can be override by the controller to pass a different feature
This function can be override by the controller to pass a different feature
This function can be override by the controller to pass a different feature
def model_feature_for_action(action)
      case action
      when :edit
        edit_feature
      end
    end
def model_feature_for_action ( action ) case action when :edit edit_feature end end
This function can be override by the controller to pass a different feature
This function can be override by the controller to pass a different feature
action
<not_specific>