Sha256: 709ecd6a15c18421c6f45a809fd2e487cd4da4a5c36aa4dc3c6c27416a3a72b5
Contents?: true
Size: 486 Bytes
Versions: 17
Compression:
Stored size: 486 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.where(pststatus: "published").find(params[:id]) end end end
Version data entries
17 entries across 17 versions & 1 rubygems