Commit f6300b21 authored by Gabriel Mazetto's avatar Gabriel Mazetto

lean routes for geo oauth

parent 294cfa73
......@@ -53,10 +53,10 @@ Rails.application.routes.draw do
authorizations: 'oauth/authorizations'
end
namespace :oauth do
get 'geo/auth' => 'geo_auth#auth'
get 'geo/callback' => 'geo_auth#callback'
get 'geo/logout' => 'geo_auth#logout'
namespace :oauth, path: 'geo', controller: 'geo_auth', as: 'oauth_geo' do
get 'auth'
get 'callback'
get 'logout'
end
# Autocomplete
......
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