mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 20:24:03 +00:00
rubocop Style/AndOr style enabled
This commit is contained in:
parent
f8784fdcd8
commit
4aa1f0bf3a
3 changed files with 5 additions and 7 deletions
|
|
@ -6,7 +6,7 @@ class ApplicationController < ActionController::Base
|
|||
helper_method :date_string
|
||||
|
||||
def store_location
|
||||
session[:return_to] = request.fullpath if request.get? and controller_name != "user_sessions" and controller_name != "sessions"
|
||||
session[:return_to] = request.fullpath if request.get? && controller_name != "user_sessions" && controller_name != "sessions"
|
||||
end
|
||||
|
||||
def after_sign_in_path_for(resource)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue