mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 05:01:14 +08:00
FIX: Add appropriate classes to html
element including lang
(#12245)
This was not working in the Ember CLI version of the application.
This commit is contained in:
@ -60,6 +60,8 @@ class BootstrapController < ApplicationController
|
||||
preloaded: @preloaded,
|
||||
html: create_html,
|
||||
theme_html: create_theme_html,
|
||||
html_classes: html_classes,
|
||||
html_lang: html_lang
|
||||
}
|
||||
bootstrap[:extra_locales] = extra_locales if extra_locales.present?
|
||||
bootstrap[:csrf_token] = form_authenticity_token if current_user
|
||||
|
Reference in New Issue
Block a user