From c3b17f5fcc5537683d4541c81623cebe3859cfe5 Mon Sep 17 00:00:00 2001 From: Albert Yi Date: Tue, 4 Sep 2018 14:26:37 -0700 Subject: [PATCH] Revert "remove global danbooru object js in default layout" This reverts commit 68e7de1fc420b095520bb82e7f9a8d865b936229. --- app/views/layouts/default.html.erb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/views/layouts/default.html.erb b/app/views/layouts/default.html.erb index 5ef5c99b9..0cf6d38af 100644 --- a/app/views/layouts/default.html.erb +++ b/app/views/layouts/default.html.erb @@ -71,6 +71,20 @@ } + + <%= tag.body **body_attributes(CurrentUser.user) do %>