if this logic isn't needed we should take it out later
This commit is contained in:
parent
b94d9c8637
commit
f63bb1c6a2
|
@ -68,7 +68,7 @@ module Travis::API::V3
|
|||
|
||||
def check_login_and_find(*args)
|
||||
raise LoginRequired unless access_control.full_access_or_logged_in?
|
||||
find(*args) # should this raise NotFound if nil? Can it return nil? see above?
|
||||
find(*args) or raise NotFound
|
||||
end
|
||||
|
||||
def not_found(actually_not_found = false, type = nil)
|
||||
|
|
Loading…
Reference in New Issue
Block a user