Sha256: 47833f21400ec2ed816c3707ad07b5f2cdae3c6e11b7f720535f649974bda262
Contents?: true
Size: 314 Bytes
Versions: 12
Compression:
Stored size: 314 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
12 entries across 12 versions & 1 rubygems