Sha256: 96a060298e770dd183bc0a1f08b3641d2c3f5d2418a284e92c2b3ce9ac0d6f3b
Contents?: true
Size: 315 Bytes
Versions: 5
Compression:
Stored size: 315 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
5 entries across 5 versions & 1 rubygems