Moves social tags outside cache on budget stats
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
<% cache [@stats] do %>
|
||||
<% provide :title do %>
|
||||
<%= t("budgets.stats.page_title", budget: @budget.name) %>
|
||||
<% end %>
|
||||
<% provide :social_media_meta_tags do %>
|
||||
<%= render "shared/social_media_meta_tags",
|
||||
social_url: budget_url(@budget),
|
||||
social_title: @budget.name,
|
||||
social_description: @budget.description_finished %>
|
||||
<% end %>
|
||||
<% provide :title do %>
|
||||
<%= t("budgets.stats.page_title", budget: @budget.name) %>
|
||||
<% end %>
|
||||
<% provide :social_media_meta_tags do %>
|
||||
<%= render "shared/social_media_meta_tags",
|
||||
social_url: budget_url(@budget),
|
||||
social_title: @budget.name,
|
||||
social_description: @budget.description_finished %>
|
||||
<% end %>
|
||||
|
||||
<% cache [@stats] do %>
|
||||
<div class="budgets-stats">
|
||||
<div class="expanded no-margin-top padding header">
|
||||
<div class="row">
|
||||
|
||||
Reference in New Issue
Block a user