Sha256: 954da247b1957f0d757bce62dca06fa0774641551aba8cd905265959518b09b0

Contents?: true

Size: 328 Bytes

Versions: 3

Compression:

Stored size: 328 Bytes

Contents

require_dependency "phcmembers/application_controller"

module Phcmembers
  class Api::V1::CategoriesController < 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

3 entries across 3 versions & 1 rubygems

Version Path
phcmembers-61.5.0 app/controllers/phcmembers/api/v1/categories_controller.rb
phcmembers-61.4.0 app/controllers/phcmembers/api/v1/categories_controller.rb
phcmembers-61.3.0 app/controllers/phcmembers/api/v1/categories_controller.rb