ftp-manager/config/routes.rb

15 lines
552 B
Ruby
Raw Permalink 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
2016-09-28 22:39:42 -05:00
get 'accounts/genpass', to: 'accounts#genpass', as: :genpass
get 'accounts/reveal/:id', to: 'accounts#reveal', as: :reveal_password
2016-09-28 22:15:37 -05:00
resources :accounts, except: [:destroy]
2016-09-12 22:15:44 -05:00
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