Sha256: 5e32855cf8c9436d0cd0ce937b571b11cf61bd0bf67d5154b32479d8fc7d3291

Contents?: true

Size: 301 Bytes

Versions: 4

Compression:

Stored size: 301 Bytes

Contents

Phcpress::Engine.routes.draw do

	# Blog Routes
	namespace :blog do
		resources :posts, class_name: 'Phcpress::News::Post'
	end

	# News Routes
	namespace :news do
		resources :posts, class_name: 'Phcpress::Blog::Post'
	end

	# Categories
	resources :categories, class_name: 'Phcpress::Category'

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phcpress-3.8.5 config/routes.rb
phcpress-3.8.1 config/routes.rb
phcpress-3.8.0 config/routes.rb
phcpress-3.7.9 config/routes.rb