Sha256: 36be4b00950701ad11f3952d7739988a123299f03395c11bdabe79abccd2fa1e
Contents?: true
Size: 390 Bytes
Versions: 11
Compression:
Stored size: 390 Bytes
Contents
require_dependency "phcpress/application_controller" module Phcpress class Website::PagesController < ApplicationController # Resolve Layout for Web Pages layout :layouts_resolver_webpages # Retrieve News Posts for News Page def newspage @news_posts = News::Post.all end # Retrieve Blog Posts for Blog Page def blogpage @blog_posts = Blog::Post.all end end end
Version data entries
11 entries across 11 versions & 1 rubygems