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-6.1.1 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-6.1.0 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-6.0.2 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-6.0.1 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-6.0.0 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.11.3 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.11.2 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.11.1 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.11.0 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.10.3 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.10.2 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.10.1 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.10.0 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.9.2 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.9.1 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.9.0 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.8.9 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.8.8 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.8.7 app/controllers/phcpresspro/frontend/articles_controller.rb
phcpresspro-5.8.6 app/controllers/phcpresspro/frontend/articles_controller.rb