Sha256: 1d011fb59dcb2bff78bd59ddff5818391d488f8a5bba2596383c34d3282e8c52

Contents?: true

Size: 375 Bytes

Versions: 46

Compression:

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

46 entries across 46 versions & 1 rubygems

Version Path
phcmemberspro-35.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-34.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-33.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-32.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-31.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-30.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-29.2.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-29.1.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-29.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-28.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-27.2.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-27.1.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-27.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-26.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-25.1.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-25.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-24.2.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-24.1.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-24.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-23.1.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb