Waiter app progress

This commit is contained in:
2015-03-24 18:40:55 +01:00
parent 90a2a2087b
commit 792a31edfd
11 changed files with 72 additions and 22 deletions
@@ -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