mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fix Hound CI violations
This commit is contained in:
parent
110afe1192
commit
c742e57534
3 changed files with 6 additions and 5 deletions
|
|
@ -9,8 +9,8 @@ class ApplicationController < ActionController::Base
|
|||
end
|
||||
|
||||
def after_sign_in_path_for(resource)
|
||||
if session[:return_to] and
|
||||
not session[:return_to].start_with?(user_registration_path)
|
||||
if session[:return_to] &&
|
||||
(not session[:return_to].start_with?(user_registration_path))
|
||||
logger.debug "Returning to #{session[:return_to]}"
|
||||
session[:return_to]
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue