Sha256: 6e0cdff853d0970631c969a14429d0f4da668d09f1167efc06e6c5f22ddabcf9
Contents?: true
Size: 435 Bytes
Versions: 11
Compression:
Stored size: 435 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(org_id: current_user.org_id, pststatus: "published") end # SHOW def show @phcpress_posts_single = Article::Post.friendly.find(params[:id]) end end end
Version data entries
11 entries across 11 versions & 1 rubygems