html: add controller & action attributes to <body> tag (#3844).
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user