Sha256: 783162c6e03e948d6352660ec72e4bd2fe51cbfdbbd48fa137b1eae1cb9e5c65

Contents?: true

Size: 325 Bytes

Versions: 12

Compression:

Stored size: 325 Bytes

Contents

require_dependency "phcpress/application_controller"

module Phcpress
  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

12 entries across 12 versions & 1 rubygems

Version Path
phcpress-7.1.2 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-7.1.1 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-7.1.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-7.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-6.7.3 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-6.7.2 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-6.7.1 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-6.7.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-6.6.6 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-6.6.5 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-6.6.4 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-6.6.3 app/controllers/phcpress/api/v1/categories_controller.rb