Sha256: 49f31dc3ee99dcff6666e96ee762ac5431caf28f75c6ff9ed50459bcd132052a

Contents?: true

Size: 393 Bytes

Versions: 7

Compression:

Stored size: 393 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
			@article_index = Articles::Post.all
		end
	
		# Single Article Post
		def show
			@article_single = Articles::Post.find(params[:id])
		end

	end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
phcpresspro-5.7.4 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.7.3 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.7.2 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.7.1 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.7.0 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.6.2 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.6.1 app/controllers/phcpresspro/frontend/articles_controller.rb