Sha256: e75fbd10b997232ecfadc0f3d257712db19077999515850a98d35e40df779d79

Contents?: true

Size: 504 Bytes

Versions: 2

Compression:

Stored size: 504 Bytes

Contents

PhcdevworksCoreModules::Engine.routes.draw do

    # Routes for Posts
    namespace :post do
        resources :categories, class_name: 'Post::Category'
    end
    
    # Routes for Marketing
    namespace :marketing do
        resources :optimizations, class_name: 'Marketing::Optimization'
    end
    
    # Routes for Affiliate
    namespace :affiliate do
        resources :links, class_name: 'Affiliate::Link'
    end
    
    # Mount Routes
    mount PhcdevworksAccounts::Engine, :at => '/'

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcdevworks_core_modules-7.1.1 config/routes.rb
phcdevworks_core_modules-7.1.0 config/routes.rb