Sha256: 0c81a6b718e19e145c1196443ab98aae30ffe1a2a53f636ec58c785c63e5f05d

Contents?: true

Size: 382 Bytes

Versions: 10

Compression:

Stored size: 382 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

10 entries across 10 versions & 1 rubygems

Version Path
phcmemberspro-17.1.4 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-17.1.3 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-17.1.2 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-17.1.1 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-17.1.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-17.0.3 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-17.0.2 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-17.0.1 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-17.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-16.0.2 app/controllers/phcmemberspro/api/v1/categories_controller.rb