Sha256: 36be96ce65756a5d8766c5d9299003a88c95b3edcc3319a96774ba29a776d299

Contents?: true

Size: 395 Bytes

Versions: 45

Compression:

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

	end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
phcpresspro-5.8.5 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.8.4 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.8.3 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.8.2 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.8.1 app/controllers/phcpresspro/frontend/articles_controller.rb