Waiter app progress
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class Waiter::SectionsController < Waiter::ApplicationController
|
||||
|
||||
def index
|
||||
sections = current_supplier.sections.include_relation(:tables)
|
||||
render json: sections, each_serializer: Waiter::SectionSerializer
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user