Add body class to `account-created` route
This commit is contained in:
parent
0fcfc6bed9
commit
89e506551a
|
@ -471,6 +471,7 @@ class UsersController < ApplicationController
|
|||
end
|
||||
|
||||
def account_created
|
||||
@custom_body_class = "static-account-created"
|
||||
@message = session['user_created_message'] || I18n.t('activation.missing_session')
|
||||
expires_now
|
||||
render layout: 'no_ember'
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<%- end %>
|
||||
<%= yield(:no_ember_head) %>
|
||||
</head>
|
||||
<body>
|
||||
<body <% if @custom_body_class %>class="<%= @custom_body_class %>"<% end %>>
|
||||
<%- unless customization_disabled? %>
|
||||
<%= SiteCustomization.custom_header(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
|
||||
<%- end %>
|
||||
|
|
Loading…
Reference in New Issue