mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-16 17:05:09 -04:00
Add body class to account-created
route
This commit is contained in:
parent
0fcfc6bed9
commit
89e506551a
2 changed files with 2 additions and 1 deletions
app
|
@ -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…
Add table
Reference in a new issue