Sha256: 41812aae545dd07574951b5aadf06d0194fb39273cdc5f87f629aa9045183e46

Contents?: true

Size: 351 Bytes

Versions: 10

Compression:

Stored size: 351 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
	namespace :modules do
		resources :categories, class_name: 'Phcpresspro::Modules::Category'
	end

end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
phcpresspro-3.1.2 config/routes.rb
phcpresspro-3.1.1 config/routes.rb
phcpresspro-3.1.0 config/routes.rb
phcpresspro-3.0.9 config/routes.rb
phcpresspro-3.0.8 config/routes.rb
phcpresspro-3.0.7 config/routes.rb
phcpresspro-3.0.6 config/routes.rb
phcpresspro-3.0.5 config/routes.rb
phcpresspro-3.0.4 config/routes.rb
phcpresspro-3.0.3 config/routes.rb