Sha256: 1a623857065845cec79aaf54975e21953bb8c19d3cede54fd357fef7e34b1861

Contents?: true

Size: 321 Bytes

Versions: 16

Compression:

Stored size: 321 Bytes

Contents

require_dependency "phcmembers/application_controller"

module Phcmembers
	class Api::CatsapiController < ApplicationController

		# Only Responds to API Requests
		respond_to :json

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

	end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
phcmembers-2.2.0 app/controllers/phcmembers/api/catsapi_controller.rb
phcmembers-2.1.3 app/controllers/phcmembers/api/catsapi_controller.rb
phcmembers-2.1.2 app/controllers/phcmembers/api/catsapi_controller.rb
phcmembers-2.1.1 app/controllers/phcmembers/api/catsapi_controller.rb
phcmembers-2.1.0 app/controllers/phcmembers/api/catsapi_controller.rb
phcmembers-2.0.0 app/controllers/phcmembers/api/catsapi_controller.rb
phcmembers-1.9.9 app/controllers/phcmembers/api/catsapi_controller.rb
phcmembers-1.9.5 app/controllers/phcmembers/api/catsapi_controller.rb
phcmembers-1.9.0 app/controllers/phcmembers/api/catsapi_controller.rb
phcmembers-1.8.1 app/controllers/phcmembers/api/catsapi_controller.rb
phcmembers-1.8.0 app/controllers/phcmembers/api/catsapi_controller.rb
phcmembers-1.7.8 app/controllers/phcmembers/api/catsapi_controller.rb
phcmembers-1.7.6 app/controllers/phcmembers/api/catsapi_controller.rb
phcmembers-1.7.5 app/controllers/phcmembers/api/catsapi_controller.rb
phcmembers-1.7.0 app/controllers/phcmembers/api/catsapi_controller.rb
phcmembers-1.6.0 app/controllers/phcmembers/api/catsapi_controller.rb