Sha256: 49f31dc3ee99dcff6666e96ee762ac5431caf28f75c6ff9ed50459bcd132052a
Contents?: true
Size: 393 Bytes
Versions: 7
Compression:
Stored size: 393 Bytes
Contents
require_dependency "phcpresspro/application_controller" module Phcpresspro class Frontend::ArticlesController < ApplicationController # Security & Filters layout '/layouts/phcpresspro/frontend.html.erb' # Article Index def index @article_index = Articles::Post.all end # Single Article Post def show @article_single = Articles::Post.find(params[:id]) end end end
Version data entries
7 entries across 7 versions & 1 rubygems