From b950fd03d9c5d351d3c5c03132c21c7de5a801c7 Mon Sep 17 00:00:00 2001 From: nhungltm <41945537+nhungltm@users.noreply.github.com> Date: Wed, 17 Oct 2018 09:39:10 +0700 Subject: [PATCH] change condition clearly --- views/other.erb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/views/other.erb b/views/other.erb index ee9b8de1..8cee03bb 100644 --- a/views/other.erb +++ b/views/other.erb @@ -16,7 +16,9 @@
data-doc="<%= CGI::escape_html @doc.to_json %>"> <%= erb :app -%> -<%= javascript_tag 'application', asset_host: false %><% unless App.production? %> -<%= javascript_tag 'debug' %><% end %> +<%= javascript_tag 'application', asset_host: false %> +<% unless App.production? %> + <%= javascript_tag 'debug' %> +<% end %>