Commit 599472ac authored by Lin Jen-Shin's avatar Lin Jen-Shin

Remove extra methods from merge

parent c9e4a499
......@@ -137,18 +137,12 @@ module API
end
end
private
def route_authentication_setting
return {} unless respond_to?(:route_setting)
route_setting(:authentication) || {}
end
def find_user_by_authentication_token(token_string)
User.find_by_authentication_token(token_string)
end
def find_oauth_access_token
return @oauth_access_token if defined?(@oauth_access_token)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment