Sha256: 6fdb1e549c9eb21babf488bff7a58d487acf4abf215617d6e36c6377d25239d1

Contents?: true

Size: 446 Bytes

Versions: 9

Compression:

Stored size: 446 Bytes

Contents

require_dependency "phcpresspro/application_controller"

module Phcpresspro
	class Frontend::ArticlesController < ApplicationController

		# Security & Filters
		layout '/layouts/phcpresspro/frontend.html.erb'
		before_action :set_frontend_article, only: [:show]

		# 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

9 entries across 9 versions & 1 rubygems

Version Path
phcpresspro-5.6.0 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.5.8 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.5.7 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.5.6 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.5.5 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.5.4 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.5.3 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.5.2 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.5.1 app/controllers/phcpresspro/frontend/articles_controller.rb