if this logic isn't needed we should take it out later

This commit is contained in:
Renée Hendricksen 2016-07-07 01:16:39 -04:00
parent b94d9c8637
commit f63bb1c6a2

View File

@ -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)