Fixes valuation features

This commit is contained in:
kikito
2016-12-13 15:51:58 +01:00
parent 7ee2b1dd48
commit 5b56336941
2 changed files with 5 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ class Valuation::BudgetsController < Valuation::BaseController
include FeatureFlags
feature_flag :budgets
has_filters %w{open finished}, only: :index
has_filters %w{current finished}, only: :index
load_and_authorize_resource
@@ -10,4 +10,4 @@ class Valuation::BudgetsController < Valuation::BaseController
@budgets = Budget.send(@current_filter).order(created_at: :desc).page(params[:page])
end
end
end