Sha256: b8705e8bf613780a024ddbb8d86d22099c98d072440b67e33c5cc15c142b79d3

Contents?: true

Size: 318 Bytes

Versions: 62

Compression:

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

62 entries across 62 versions & 1 rubygems

Version Path
phcpress-31.2.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-31.1.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-31.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-30.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-29.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-28.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-27.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-26.0.1 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-26.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-25.1.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-25.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-24.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-23.2.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-23.1.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-23.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-22.0.1 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-22.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-21.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-20.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-19.0.1 app/controllers/phcpress/api/v1/categories_controller.rb