Sha256: 55ad29199dda1eace09633ff9e6309e34d89c2a77bb9daccd3eaa5593b3f894c

Contents?: true

Size: 275 Bytes

Versions: 11

Compression:

Stored size: 275 Bytes

Contents

Phcpress::Engine.routes.draw do

	# Blog Section
	namespace :blog do
		resources :posts
	end
	
	# News Section
	namespace :news do
		resources :posts
	end
	
	# Serve Out Pages
	get 'website/pages/newspage', :path => "news"
	get 'website/pages/blogpage', :path => "blog"

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
phcpress-1.0.0 config/routes.rb
phcpress-0.11.1 config/routes.rb
phcpress-0.11.0 config/routes.rb
phcpress-0.10.8 config/routes.rb
phcpress-0.9.7 config/routes.rb
phcpress-0.9.6 config/routes.rb
phcpress-0.7.11 config/routes.rb
phcpress-0.7.9 config/routes.rb
phcpress-0.6.0 config/routes.rb
phcpress-0.5.9b config/routes.rb
phcpress-0.4.9b config/routes.rb