Sha256: 3417db27034d33fb74b94406d204caa5e57d37d42297df06c03f6fe755433326
Contents?: true
Size: 406 Bytes
Versions: 1
Compression:
Stored size: 406 Bytes
Contents
require_dependency "phcpresspro/application_controller" module Phcpresspro class Blog::ArticlesController < ApplicationController # Layout layout 'phcpresspro/frontend' # INDEX def index @phcpress_posts_index = Article::Post.where(pststatus: "published") end # SHOW def show @phcpress_posts_single = Article::Post.friendly.find(params[:id]) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phcpresspro-83.0.0 | app/controllers/phcpresspro/blog/articles_controller.rb |