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-7.7.0 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-7.6.0 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-7.5.7 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-7.5.6 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-7.5.5 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-7.5.2 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-7.5.1 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-7.5.0 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-7.1.2 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-7.1.1 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-7.1.0 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-7.0.4 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-7.0.3 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-7.0.2 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-7.0.1 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-7.0.0 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.9.0 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.18 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.17 app/controllers/phcmemberspro/api/listapi_controller.rb
phcmemberspro-6.8.16 app/controllers/phcmemberspro/api/listapi_controller.rb