Sha256: 303f6ff3d59eb60adce511a3fc0f3a8fb13cc277d0c6c3501b7a5b748fc0608d
Contents?: true
Size: 388 Bytes
Versions: 16
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_listings = category.catlists.where(membership_id: membership_info.id) end end end
Version data entries
16 entries across 16 versions & 1 rubygems