Sha256: 73c446e318bb4b7915ff2678edfba67a4534d4f3b491e0722cb5bbae5cdd13a8
Contents?: true
Size: 486 Bytes
Versions: 4
Compression:
Stored size: 486 Bytes
Contents
require_dependency "phcmemberspro/application_controller" module Phcmemberspro 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