Sha256: 7dbad90f9abb88a3f2b98f7c54843ce95b46748b3fa0e091f3a67bc11508b80f

Contents?: true

Size: 459 Bytes

Versions: 72

Compression:

Stored size: 459 Bytes

Contents

require_dependency "phcmemberspro/application_controller"

module Phcmemberspro
  class Api::V1::CategoriesController < ApplicationController

    # Only Responds to API Requests & Skips Member Profile Info
    skip_before_action :phcmemberspro_get_member_profile_info
    respond_to :json

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

  end
end

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
phcmemberspro-87.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-86.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-85.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-84.1.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-84.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-83.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-82.4.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-82.3.1 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-82.3.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-82.2.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-82.1.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-82.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-81.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-80.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-79.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-78.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-77.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-76.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-74.1.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb
phcmemberspro-74.0.0 app/controllers/phcmemberspro/api/v1/categories_controller.rb