ftp-manager/config/routes.rb

14 lines
469 B
Ruby
Raw Normal View History

2016-09-18 09:41:51 -05:00
# frozen_string_literal: true
2016-08-27 15:52:19 -05:00
Rails.application.routes.draw do
get 'accounts/reveal/:id', to: 'accounts#reveal', as: :reveal_password
2016-09-12 22:15:44 -05:00
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'
2016-09-12 22:15:44 -05:00
root to: "accounts#index"
2016-08-27 15:52:19 -05:00
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end