Autofix Rubocop remaining Layout rules (#23679)
This commit is contained in:
1 parent
d2dcb6c45a
commit
717683d1c3
117 files changed
+265
-261
No files matched your search
@@ -128,6 +128,7 @@ class ApplicationController < ActionController::Base
|
||||
|
||||
def current_theme
|
||||
return Setting.theme unless Themes.instance.names.include? current_user&.setting_theme
|
||||
|
||||
current_user.setting_theme
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user