controllers: set @current_item globally in respond_with.
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user