Sha256: 70eaa17a369e629f3ef50774d4a4d75ce98993bcdcf4f780b004abf95030d709
Contents?: true
Size: 497 Bytes
Versions: 4
Compression:
Stored size: 497 Bytes
Contents
require_dependency "phcmembers/application_controller" module Phcmembers class Api::V1::ListingsController < ApplicationController # Only Responds to API skip_before_action :phcmembers_get_member_profile_info respond_to :json # Directory Listing API def index category = Directory::Category.find(params[:category_id]) @member_listings = category.listings.where(org_id: current_user.org_id).order('listing_company_name ASC') end end end
Version data entries
4 entries across 4 versions & 1 rubygems