Sha256: dbb1ea67457ab2482a4b4fb3969b8a662d8f203f35ef30ba5e07c0115003ff7f

Contents?: true

Size: 324 Bytes

Versions: 85

Compression:

Stored size: 324 Bytes

Contents

require_dependency "phcpresspro/application_controller"

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

    # Only Responds to API Requests
    respond_to :json

    # Article Category API
    def index
      @modules_categories = Modules::Category.order('catname ASC')
    end

  end
end

Version data entries

85 entries across 85 versions & 1 rubygems

Version Path
phcpresspro-12.0.1 app/controllers/phcpresspro/api/v1/categories_controller.rb
phcpresspro-12.0.0 app/controllers/phcpresspro/api/v1/categories_controller.rb
phcpresspro-11.0.1 app/controllers/phcpresspro/api/v1/categories_controller.rb
phcpresspro-11.0.0 app/controllers/phcpresspro/api/v1/categories_controller.rb
phcpresspro-10.0.1 app/controllers/phcpresspro/api/v1/categories_controller.rb