Sha256: 06ed8dc80b6545527acebd17794b546932378beb4e89fe1d270e13a46794b587

Contents?: true

Size: 386 Bytes

Versions: 10

Compression:

Stored size: 386 Bytes

Contents

require_dependency "phcpress/application_controller"

module Phcpress
	class Frontend::ArticlesController < ApplicationController

		# Security & Filters
		layout '/layouts/phcpress/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

10 entries across 10 versions & 1 rubygems

Version Path
phcpress-6.4.4 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.4.3 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.4.2 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.4.1 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.4.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.3.0 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.2.8 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.2.7 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.2.6 app/controllers/phcpress/frontend/articles_controller.rb
phcpress-6.2.5 app/controllers/phcpress/frontend/articles_controller.rb