Rails.application.routes.draw do
  mount_devise_token_auth_for 'User', at: 'auth'
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  namespace :api do
  	namespace :v1 do
			resources :campus_locations
			resources :dependences
  	end
  end
end

Rails.application.routes.draw do
  mount_devise_token_auth_for 'User', at: 'auth', controllers: {
  	registrations: 'devise/registration_custom'
  }
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  namespace :api do
  	namespace :v1 do
			resources :campus_locations
			resources :dependences
  	end
  end
end

Set custom controller for registrations
Set custom controller for registrations
