Sha256: 223e10223cf274d484c252e42423adc70b363fadbedc9e13fe00eb24701b8fcf
Contents?: true
Size: 397 Bytes
Versions: 12
Compression:
Stored size: 397 Bytes
Contents
require_dependency "phcpress/application_controller" module Phcpress class Blog::ArticlesController < ApplicationController # Layout layout 'phcpress/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
12 entries across 12 versions & 1 rubygems