Sha256: 28c70c625fe711e3a64b9213f724df0e3a0b0f95df679a8aa18ce9cccad3bf1d
Contents?: true
Size: 322 Bytes
Versions: 1
Compression:
Stored size: 322 Bytes
Contents
require_dependency "phcpress/application_controller" module Phcpress class Api::V1::PostsController < ApplicationController # Only Responds to API Requests respond_to :json # Article Category API def index @articles_posts = Articles::Post.order('psttitle 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/posts_controller.rb |