Sha256: be2ee527acd0239bb4be1112b4574528dccca17ffad1ca1349b080d403a82a48

Contents?: true

Size: 500 Bytes

Versions: 14

Compression:

Stored size: 500 Bytes

Contents

Phcpresspro::Engine.routes.draw do

  namespace :api do
    namespace :v1 do
      resources :posts
    end
  end
  namespace :api do
    namespace :v1 do
      resources :categories
    end
  end
	# Article Routes
	namespace :articles do
		resources :posts, class_name: 'Phcpresspro::Articles::Post'
	end

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

end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
phcpresspro-5.3.4 config/routes.rb
phcpresspro-5.3.3 config/routes.rb
phcpresspro-5.3.2 config/routes.rb
phcpresspro-5.3.1 config/routes.rb
phcpresspro-5.3.0 config/routes.rb
phcpresspro-5.2.3 config/routes.rb
phcpresspro-5.2.2 config/routes.rb
phcpresspro-5.2.0 config/routes.rb
phcpresspro-5.1.2 config/routes.rb
phcpresspro-5.1.1 config/routes.rb
phcpresspro-5.1.0 config/routes.rb
phcpresspro-5.0.3 config/routes.rb
phcpresspro-5.0.2 config/routes.rb
phcpresspro-5.0.1 config/routes.rb