Sha256: 6f73d09cad83fd38b5ac6814828ed6063ef97c08960cf1d56b9006d3cc0d9c29
Contents?: true
Size: 388 Bytes
Versions: 54
Compression:
Stored size: 388 Bytes
Contents
require_dependency "phcmemberspro/application_controller" module Phcmemberspro class Api::ListapiController < ApplicationController # Only Responds to API Requests respond_to :json # Directory Listing API def index category = Directory::Category.find(params[:category_id]) @directory_catlists = category.catlists.where(membership_id: membership_info.id) end end end
Version data entries
54 entries across 54 versions & 1 rubygems