Sha256: 12ed54ae9aa79ac6c21de641272caf9534cdaa50bd4f8ce6c62b198b319d9992

Contents?: true

Size: 360 Bytes

Versions: 91

Compression:

Stored size: 360 Bytes

Contents

require_dependency "phcmemberspro/application_controller"

module Phcmemberspro
	class Api::V1::CategoriesController < ApplicationController

		# Only Responds to API Requests
		respond_to :json

		# Directory Category API
		def index
			@directory_categories = Directory::Category.where(membership_id: membership_info.id).order('catname ASC')
		end

	end
end

Version data entries

91 entries across 91 versions & 1 rubygems

Version Path
phcmemberspro-14.0.3 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-14.0.2 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-14.0.1 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-14.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.6.6 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.6.5 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.6.4 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.6.3 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.6.2 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.6.1 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.6.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.5.1 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.5.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.4.2 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.4.1 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.4.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.2.1 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.2.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.1.1 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-13.1.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb