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-50.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-49.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-48.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-47.1.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-47.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-46.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-45.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-44.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-43.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-42.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-41.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-40.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-39.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-38.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-37.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-36.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-35.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-34.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-33.0.0 app/controllers/phcpress/api/v1/categories_controller.rb
phcpress-32.0.0 app/controllers/phcpress/api/v1/categories_controller.rb