This commit is contained in:
mgabdev
2020-04-30 00:34:50 -04:00
parent 03de4c4fea
commit 8673eb8975
26 changed files with 406 additions and 164 deletions

View File

@@ -99,7 +99,7 @@ class ApplicationController < ActionController::Base
end
def current_theme
return Setting.theme unless Themes.instance.names.include? current_user&.setting_theme
return Setting.theme
current_user.setting_theme
end