removed account destroy

This commit is contained in:
2016-09-28 22:15:37 -05:00
parent 81c667da0f
commit 2a10a93ac9
4 changed files with 1 additions and 15 deletions

View File

@ -1,7 +1,7 @@
# frozen_string_literal: true
Rails.application.routes.draw do
get 'accounts/reveal/:id', to: 'accounts#reveal', as: :reveal_password
resources :accounts
resources :accounts, except: [:destroy]
get "logout", to: "auth#logout", as: :logout
get "login", to: "auth#login", as: :login