Sha256: 1c8f625b7266f19a7084b2147084f3d58b49c92342dcf18a3acf9308a3866b55
Contents?: true
Size: 368 Bytes
Versions: 1
Compression:
Stored size: 368 Bytes
Contents
require_dependency "phcpresspro/application_controller" module Phcpresspro class Frontend::ArticlesController < ApplicationController before_action :set_frontend_article, only: [:show] # Article Index def index @article_index = Articles::Post.all end # Single Article def show @article_single = Articles::Post.find(params[:id]) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phcpresspro-5.5.0 | app/controllers/phcpresspro/frontend/articles_controller.rb |