Sha256: 6f69665e9c71cbfa38d8cc1445b0fef157ade43c22c31f94fa0e856907e06653

Contents?: true

Size: 313 Bytes

Versions: 11

Compression:

Stored size: 313 Bytes

Contents

Phcpresspro::Engine.routes.draw do

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

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

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

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
phcpresspro-2.2.5 config/routes.rb
phcpresspro-2.2.3 config/routes.rb
phcpresspro-2.2.2 config/routes.rb
phcpresspro-2.2.1 config/routes.rb
phcpresspro-2.2.0 config/routes.rb
phcpresspro-2.1.3 config/routes.rb
phcpresspro-2.1.2 config/routes.rb
phcpresspro-2.1.1 config/routes.rb
phcpresspro-2.1.0 config/routes.rb
phcpresspro-2.0.1 config/routes.rb
phcpresspro-2.0.0 config/routes.rb