html: add controller & action attributes to <body> tag (#3844).

This commit is contained in:
evazion
2018-08-26 14:10:47 -05:00
parent b98bc26397
commit 4e1d76da81
3 changed files with 21 additions and 6 deletions

View File

@@ -86,7 +86,7 @@
</script>
</head>
<body lang="en" <%= body_attributes(CurrentUser.user) %>>
<%= tag.body **body_attributes(CurrentUser.user) do %>
<header id="top">
<%= render "news_updates/listing" %>
@@ -137,5 +137,5 @@
</div>
<%= render "static/footer" %>
</body>
<% end %>
</html>