route update

This commit is contained in:
Min Zeya Phyo
2017-06-27 01:15:40 +06:30
parent 1ea9125f80
commit c1646b812e

View File

@@ -13,8 +13,8 @@ Rails.application.routes.draw do
post 'install' => 'install#create'
#--------- Login/Authentication ------------#
get 'emp_login/:emp_id' => 'home#show' , as: :emp_login
patch "emp_login/:emp_id" => 'home#update', as: :emp_login_update
get 'auth/:emp_id' => 'home#show' , as: :emp_login
patch "auth/:emp_id" => 'home#update', as: :emp_login_update
post 'login' => 'home#create'
delete 'logout' => 'home#destroy'