Add and apply MultilineMethodCallBraceLayout rule

In order for this rule to work effectively when running `--autocorrect`,
we also need to enable the `ClosingParenthesisIndentation` rule.
This commit is contained in:
Javi Martín
2023-07-01 18:18:22 +02:00
parent 5b6de96241
commit 1a098dfcab
36 changed files with 74 additions and 65 deletions

View File

@@ -29,7 +29,8 @@ class Admin::BudgetsController < Admin::BaseController
@budget.headings.each { |heading| Budget::Result.new(@budget, heading).delay.calculate_winners }
redirect_to admin_budget_budget_investments_path(
budget_id: @budget.id,
advanced_filters: ["winners"]),
advanced_filters: ["winners"]
),
notice: I18n.t("admin.budgets.winners.calculated")
end