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.
11 lines
315 B
Plaintext
11 lines
315 B
Plaintext
<% provide :title, @budget.name %>
|
|
|
|
<%= render Shared::BannerComponent.new("budgets") %>
|
|
|
|
<% content_for :canonical do %>
|
|
<%= render "shared/canonical", href: budget_url(@budget, filter: @current_filter) %>
|
|
<% end %>
|
|
|
|
<%= render Budgets::BudgetComponent.new(@budget) %>
|
|
<%= render Budgets::FooterComponent.new %>
|