diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 5b8c6347..91a2256b 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -13,7 +13,6 @@ class ApplicationController < ActionController::Base helper_method :current_account helper_method :current_session - helper_method :current_theme helper_method :single_user_mode? helper_method :use_seamless_external_login? @@ -98,12 +97,6 @@ class ApplicationController < ActionController::Base @current_session ||= SessionActivation.find_by(session_id: cookies.signed['_session_id']) end - def current_theme - 'default' - # : todo : - # current_user.setting_theme - end - def cache_collection(raw, klass) return raw unless klass.respond_to?(:with_includes) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index e76df3e0..d52bc5f6 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -95,7 +95,6 @@ module ApplicationHelper def body_classes output = (@body_classes || '').split(' ') - output << "theme-#{current_theme.parameterize}" output << 'rtl' if locale_direction == 'rtl' output.reject(&:blank?).join(' ') end