password generation

This commit is contained in:
2016-09-28 22:39:42 -05:00
parent 2a10a93ac9
commit 7d7e040c2b
5 changed files with 20 additions and 2 deletions

View File

@ -1,5 +1,6 @@
# frozen_string_literal: true
Rails.application.routes.draw do
get 'accounts/genpass', to: 'accounts#genpass', as: :genpass
get 'accounts/reveal/:id', to: 'accounts#reveal', as: :reveal_password
resources :accounts, except: [:destroy]