Sha256: 1b876933396c5b293c27b48ec83146bad63a2d07e3e0f4a0d04ca0e918336894
Contents?: true
Size: 333 Bytes
Versions: 1
Compression:
Stored size: 333 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phcpress-9.0.1 | app/controllers/phcpress/api/v1/categories_controller.rb |