Removed unused @body_classes in ruby

• Removed:
- unused @body_classes in ruby
This commit is contained in:
mgabdev 2020-07-21 16:51:39 -05:00
parent 4a467278ea
commit 5967a6a34c
4 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,7 @@ class Auth::ConfirmationsController < Devise::ConfirmationsController
end
def set_body_classes
@body_classes = 'lighter'
@body_classes = ''
end
def user_params

View File

@ -16,7 +16,7 @@ class Auth::PasswordsController < Devise::PasswordsController
end
def set_body_classes
@body_classes = 'lighter'
@body_classes = ''
end
def reset_password_token_is_valid?

View File

@ -88,7 +88,7 @@ class Auth::RegistrationsController < Devise::RegistrationsController
end
def set_body_classes
@body_classes = %w(edit update).include?(action_name) ? 'admin' : 'lighter'
@body_classes = %w(edit update).include?(action_name) ? 'admin' : ''
end
def set_invite

View File

@ -113,7 +113,7 @@ class Auth::SessionsController < Devise::SessionsController
end
def set_body_classes
@body_classes = 'lighter'
@body_classes = ''
end
def home_paths(resource)