menu and menu_category
This commit is contained in:
@@ -11,5 +11,7 @@ module SXRestaurants
|
||||
# Settings in config/environments/* take precedence over those specified here.
|
||||
# Application configuration should go into files in config/initializers
|
||||
# -- all .rb files in that directory are automatically loaded.
|
||||
config.active_record.time_zone_aware_types = [:datetime, :time]
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
@@ -2,6 +2,7 @@ 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user