Rename page_heading_actions variable (#12799)

Current name - page_heading_actions is long and hard to remember,
this commit shortens it to just heading_actions, which is way more
easier to remember and write, it's logical too.
This commit is contained in:
Sasha Sorokin
2020-01-10 07:10:17 +07:00
committed by Eugen Rochko
parent c306978190
commit 139f7646a7
3 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
- content_for :page_title do
= t('admin.reports.report', id: @report.id)
- content_for :page_heading_actions do
- content_for :heading_actions do
- if @report.unresolved?
= link_to t('admin.reports.mark_as_resolved'), resolve_admin_report_path(@report), method: :post, class: 'button'
- else