Sha256: 155c2f62468b81c9384b8a29b82c5af269f6dd4eda0807632a173b068f2e95fc
Contents?: true
Size: 439 Bytes
Versions: 12
Compression:
Stored size: 439 Bytes
Contents
require_dependency "phcdevworks_press/application_controller" module PhcdevworksPress class Blog::ArticlesController < ApplicationController # Layout layout "phcdevworks_press/frontend" # INDEX def index @phcdevworks_cms_press_index = Article::Post.where(post_status: "published") end # SHOW def show @phcdevworks_cms_press_single = Article::Post.friendly.find(params[:id]) end end end
Version data entries
12 entries across 12 versions & 1 rubygems