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

Version Path
phcmemberspro-6.8.15 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.14 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.13 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.12 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.11 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.10 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.9 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.8 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.7 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.6 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.5 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.4 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.3 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.2 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.1 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.0 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.7.6 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.7.5 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.7.3 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.7.2 app/controllers/phcmemberspro/api/listapi_controller.rb