Sha256: 97ded32812240a9435c99c0e30a8702a70d7c9153484a0f2434a017eb10f4d73

Contents?: true

Size: 331 Bytes

Versions: 7

Compression:

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

7 entries across 7 versions & 1 rubygems

Version Path
phcpresspro-10.0.0 app/controllers/phcpresspro/api/v1/categories_controller.rb
phcpresspro-9.1.3 app/controllers/phcpresspro/api/v1/categories_controller.rb
phcpresspro-9.1.2 app/controllers/phcpresspro/api/v1/categories_controller.rb
phcpresspro-9.1.1 app/controllers/phcpresspro/api/v1/categories_controller.rb
phcpresspro-9.1.0 app/controllers/phcpresspro/api/v1/categories_controller.rb
phcpresspro-9.0.0 app/controllers/phcpresspro/api/v1/categories_controller.rb
phcpresspro-8.0.6 app/controllers/phcpresspro/api/v1/categories_controller.rb