Sha256: 253f6a1407f1bf49e573caa09e43343de43443ff81d59e473035be78aa84d2ca
Contents?: true
Size: 419 Bytes
Versions: 1
Compression:
Stored size: 419 Bytes
Contents
require_dependency "phcpresspro/application_controller" module Phcpresspro class Frontend::ArticlesController < ApplicationController # Security & Filters layout '/layouts/phcpresspro/frontend.html.erb' # Article Index def index @articles_index = Articles::Post.where(pststatus: published) end # Single Article Post def show @articles_single = Articles::Post.find(params[:id]) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phcpresspro-6.6.9 | app/controllers/phcpresspro/frontend/articles_controller.rb |