Sha256: d54034096a5aab52bfbc962009b16469ff68f416f2c3889908bf9bdb499fd690
Contents?: true
Size: 389 Bytes
Versions: 2
Compression:
Stored size: 389 Bytes
Contents
require_dependency "phcpress/application_controller" module Phcpresspro class Frontend::ArticlesController < ApplicationController # Security & Filters layout '/layouts/phcpress/frontend.html.erb' # Article Index def index @articles_index = Articles::Post.all end # Single Article Post def show @articles_single = Articles::Post.find(params[:id]) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
phcpress-6.2.4 | app/controllers/phcpress/frontend/articles_controller.rb |
phcpress-6.2.3 | app/controllers/phcpress/frontend/articles_controller.rb |