11 lines
322 B
Ruby
11 lines
322 B
Ruby
Rails.application.routes.draw do
|
|
namespace :api, :defaults => { :format => 'json' } do
|
|
namespace :restaurant do
|
|
get 'zones' => "zones#index"
|
|
get 'seat_tables' => "seat_tables#index"
|
|
end
|
|
end
|
|
|
|
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
|
|
end
|