Sha256: 8483c4559001ab0f255e874cbce0d37d5c3de745d0198494dab9ea13cd6bcbcd
Contents?: true
Size: 421 Bytes
Versions: 5
Compression:
Stored size: 421 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
5 entries across 5 versions & 1 rubygems