mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 03:51:07 +08:00
move SiteText.{head,bottom} to SiteCustomization and remove redundant SiteText.top
This commit is contained in:
@ -274,10 +274,7 @@ class ApplicationController < ActionController::Base
|
||||
end
|
||||
|
||||
def custom_html_json
|
||||
data = {
|
||||
top: SiteText.text_for(:top),
|
||||
footer: SiteCustomization.custom_footer(session[:preview_style])
|
||||
}
|
||||
data = { footer: SiteCustomization.custom_footer(session[:preview_style]) }
|
||||
|
||||
if DiscoursePluginRegistry.custom_html
|
||||
data.merge! DiscoursePluginRegistry.custom_html
|
||||
|
Reference in New Issue
Block a user