Simplify the way we provide the title in most cases
This is consistent with the way we're providing the main class. Note we're still setting the title using a block in more complex cases.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<% provide :title do %><%= t("budgets.investments.index.title") %><% end %>
|
||||
<% provide :title, t("budgets.investments.index.title") %>
|
||||
<% content_for :header_addon do %>
|
||||
<%= render "shared/search_form",
|
||||
search_path: budget_investments_path(budget_id: @budget.id, page: 1),
|
||||
|
||||
Reference in New Issue
Block a user