Sha256: d121615d1ee154a3fd0bbfb0162756ad64d021eef50ae27e3df860cd7d0b7b4c
Contents?: true
Size: 458 Bytes
Versions: 1
Compression:
Stored size: 458 Bytes
Contents
require_dependency "phcpresspro/application_controller" module Phcpresspro class Api::V1::PostsController < ApplicationController # Only Responds to API Requests respond_to :json # Article Category API def index @phcpresspro_frontend_article_index = Phcpressproindexapi.get_phcpresspro_index_api end # Article Show def show @phcpresspro_frontend_article_show = Article::Post.find(params[:id]) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phcpresspro-21.0.0 | app/controllers/phcpresspro/api/v1/posts_controller.rb |