Sha256: 505f1564aaac4f1c7b1214481eef9a985653c683ae32550555205750db95ff58
Contents?: true
Size: 429 Bytes
Versions: 1
Compression:
Stored size: 429 Bytes
Contents
require_dependency "phcpress/application_controller" module Phcpress 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phcpress-9.0.1 | app/controllers/phcpress/frontend/articles_controller.rb |