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