Files
sx-fc/app/controllers/api/restaurant/menu_item_attributes_controller.rb
2017-09-13 09:21:35 +06:30

13 lines
363 B
Ruby

class Api::Restaurant::MenuItemAttributesController < Api::ApiController
skip_before_action :authenticate
#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