Removed unused @body_classes in ruby
• Removed: - unused @body_classes in ruby
This commit is contained in:
parent
4a467278ea
commit
5967a6a34c
|
@ -25,7 +25,7 @@ class Auth::ConfirmationsController < Devise::ConfirmationsController
|
|||
end
|
||||
|
||||
def set_body_classes
|
||||
@body_classes = 'lighter'
|
||||
@body_classes = ''
|
||||
end
|
||||
|
||||
def user_params
|
||||
|
|
|
@ -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?
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -113,7 +113,7 @@ class Auth::SessionsController < Devise::SessionsController
|
|||
end
|
||||
|
||||
def set_body_classes
|
||||
@body_classes = 'lighter'
|
||||
@body_classes = ''
|
||||
end
|
||||
|
||||
def home_paths(resource)
|
||||
|
|
Loading…
Reference in New Issue