Files
sx-fc/app/controllers/api/restaurant/menu_item_attributes_controller.rb
2017-10-23 11:38:10 +06:30

13 lines
363 B
Ruby
Executable File

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