1 2 3 4 5 6 7
scope '-' do namespace :google_api do resource :auth, only: [], controller: :authorizations do match :callback, via: [:get, :post] end end end