adds account section to management

for now it only has the option to delete account
This commit is contained in:
Juanjo Bazán
2016-04-08 11:43:26 +02:00
parent e4e87bf548
commit 83e58f0cc9
8 changed files with 80 additions and 4 deletions

View File

@@ -220,6 +220,8 @@ Rails.application.routes.draw do
end
end
resource :account, controller: "account", only: [:show]
get 'sign_in', to: 'sessions#create'
resource :session, only: [:create, :destroy]