Sha256: 096ddb8c57e7ed421a2853863dd82dc41ddde042a1a93f8ee05a264ff555cd92
Contents?: true
Size: 470 Bytes
Versions: 1
Compression:
Stored size: 470 Bytes
Contents
require_dependency "phcdevworks_press/application_controller" module PhcdevworksPress class Blog::ListsController < ApplicationController # Layout layout "phcdevworks_press/frontend" # INDEX def index @phcdevworks_cms_press_list_index = List::Post.where(list_post_status: "published").order("created_at DESC") end # SHOW def show @phcdevworks_cms_press_list_single = List::Post.friendly.find(params[:id]) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phcdevworks_press-7.1.6 | app/controllers/phcdevworks_press/blog/lists_controller.rb |