This rule was added in rubocop 1.79. We were inconsistent about it, so we're adding it to get more consistency.
12 lines
224 B
Ruby
12 lines
224 B
Ruby
class Valuation::BudgetsController < Valuation::BaseController
|
|
include FeatureFlags
|
|
|
|
feature_flag :budgets
|
|
|
|
load_and_authorize_resource
|
|
|
|
def index
|
|
@budgets = @budgets.published.order(created_at: :desc)
|
|
end
|
|
end
|