ftp-manager/config/routes.rb

13 lines
439 B
Ruby

Rails.application.routes.draw do
get 'accounts/reveal/:id', to: 'accounts#reveal', as: :reveal_password
resources :accounts
get "logout", to: "auth#logout", as: :logout
get "login", to: "auth#login", as: :login
get "auth", to: "auth#auth", as: :auth
get "auth/callback", to: 'auth#callback'
root to: "accounts#index"
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end