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-11.1.3 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-11.1.2 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-11.1.1 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-11.1.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-11.0.9 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-11.0.8 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-11.0.7 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-11.0.6 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-11.0.5 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-11.0.1 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-11.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb