app/views/lesli/layouts/application-devise.html.erb in lesli-5.0.9 vs app/views/lesli/layouts/application-devise.html.erb in lesli-5.0.10
- old
+ new
@@ -33,12 +33,13 @@
%>
<!DOCTYPE html>
<html>
<head>
+ <script>const Lesli = <%= @lesli.to_json.html_safe %></script>
<%= render partial: "lesli/partials/application-head" %>
- <%#= render partial: "lesli/partials/application-data" %>
+ <%# render partial: "lesli/partials/application-data" %>
<%= render partial: "lesli/partials/application-public-scss" %>
<%= yield :application_custom_assets %>
<%# Disable back button in browser after Logout using JavaScript %>
<% if flash[:logout] == true %>
<script>
@@ -51,8 +52,8 @@
</head>
<body class="<%= application_body_class() %>">
<%#= yield :application_public_custom_header %>
<%= yield %>
<%= render partial: "lesli/partials/application-public-javascript" %>
- <%#= render partial: "lesli/partials/application-analytics" %>
+ <%= render partial: "lesli/partials/application-analytics" %>
</body>
</html>