controllers: set @current_item globally in respond_with.

This commit is contained in:
evazion
2020-01-29 21:30:43 -06:00
parent 6b066f2cab
commit c7185724d5
20 changed files with 25 additions and 25 deletions

View File

@@ -79,7 +79,7 @@
<%= yield :html_header %>
<%= raw Danbooru.config.custom_html_header_content %>
</head>
<%= tag.body **body_attributes(CurrentUser.user, @current_item) do %>
<%= tag.body **body_attributes(CurrentUser.user, params, @current_item) do %>
<%= render "news_updates/listing" %>
<header id="top">