about summary refs log tree commit diff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorSasha Sorokin <dafri.nochiterov8@gmail.com>2020-01-10 07:10:17 +0700
committerEugen Rochko <eugen@zeonfederated.com>2020-01-10 01:10:17 +0100
commit139f7646a7e3af491d5d6c6a99e82d46f9551400 (patch)
tree40782cdd60698e08e111045ebb4048a1b6011e4b /app/views/layouts
parentc306978190032dd0097d2e48edace33569ddb072 (diff)
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.
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/admin.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml
index 059bf8579..d1de2e80f 100644
--- a/app/views/layouts/admin.html.haml
+++ b/app/views/layouts/admin.html.haml
@@ -24,9 +24,9 @@
         .content-heading
           %h2= yield :page_title
 
-          - if :page_heading_actions
+          - if :heading_actions
             .content-heading-actions
-              = yield :page_heading_actions
+              = yield :heading_actions
 
         = render 'application/flashes'