bootstrap basic layout
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
Rails.application.routes.draw do
|
||||
|
||||
root 'home#index'
|
||||
#Login for Web
|
||||
post 'authenticate' => 'home#create'
|
||||
delete 'authenticate' => 'home/destroy'
|
||||
|
||||
namespace :api, :defaults => { :format => 'json' } do
|
||||
|
||||
#Session Login and Logout
|
||||
post 'autheticate' => "autheticate#create"
|
||||
delete 'autheticate' => "autheticate#destroy"
|
||||
post 'authenticate' => "autheticate#create"
|
||||
delete 'authenticate' => "autheticate#destroy"
|
||||
|
||||
namespace :restaurant do
|
||||
get 'zones' => "zones#index"
|
||||
|
||||
Reference in New Issue
Block a user