1
0
Fork 0
forked from OpenNeo/impress
impress/app/controllers/item_appearances_controller.rb

9 lines
207 B
Ruby
Raw Normal View History

class ItemAppearancesController < ApplicationController
def index
@item = Item.find(params[:item_id])
render json: @item.as_json(
only: [:id], methods: [:appearances, :restricted_zones]
)
end
end