Sha256: 36be96ce65756a5d8766c5d9299003a88c95b3edcc3319a96774ba29a776d299
Contents?: true
Size: 395 Bytes
Versions: 45
Compression:
Stored size: 395 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 @articles_index = Articles::Post.all end # Single Article Post def show @articles_single = Articles::Post.find(params[:id]) end end end
Version data entries
45 entries across 45 versions & 1 rubygems