Sha256: 06ed8dc80b6545527acebd17794b546932378beb4e89fe1d270e13a46794b587
Contents?: true
Size: 386 Bytes
Versions: 10
Compression:
Stored size: 386 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
10 entries across 10 versions & 1 rubygems