Sha256: 04d9784fdaf349356871c227b1059402a46ff8e717809032b2e2baedecdc5b8f

Contents?: true

Size: 398 Bytes

Versions: 4

Compression:

Stored size: 398 Bytes

Contents

Phcpress::Engine.routes.draw do

	# Frontend Routes
	namespace :frontend do
		resources :articles
	end

	# Article Routes
	namespace :articles do
		resources :posts, class_name: 'Phcpress::Articles::Post'
	end

	# Module Routes
	namespace :modules do
		resources :connections, class_name: 'Phcpress::Modules::Connection'
		resources :categories, class_name: 'Phcpress::Modules::Category'
	end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
phcpress-6.2.2 config/routes.rb
phcpress-6.2.1 config/routes.rb
phcpress-6.2.0 config/routes.rb
phcpress-6.1.3 config/routes.rb