Files
sx-fc/app/controllers/api/restaurant/menu_item_attributes_controller.rb

12 lines
329 B
Ruby
Executable File

class Api::Restaurant::MenuItemAttributesController < Api::ApiController
#Description
# Pull the default menu details and also other available (active) menus
# Input Params - order_id
def index
@menu_attributes = MenuItemAttribute.all
end
def show
@attribute = MenuItemAttribute.find(params[:id])
end
end