route update
This commit is contained in:
@@ -13,8 +13,8 @@ Rails.application.routes.draw do
|
|||||||
post 'install' => 'install#create'
|
post 'install' => 'install#create'
|
||||||
|
|
||||||
#--------- Login/Authentication ------------#
|
#--------- Login/Authentication ------------#
|
||||||
get 'emp_login/:emp_id' => 'home#show' , as: :emp_login
|
get 'auth/:emp_id' => 'home#show' , as: :emp_login
|
||||||
patch "emp_login/:emp_id" => 'home#update', as: :emp_login_update
|
patch "auth/:emp_id" => 'home#update', as: :emp_login_update
|
||||||
|
|
||||||
post 'login' => 'home#create'
|
post 'login' => 'home#create'
|
||||||
delete 'logout' => 'home#destroy'
|
delete 'logout' => 'home#destroy'
|
||||||
|
|||||||
Reference in New Issue
Block a user