Sha256: 9032a1437b831cbd309feced3258d1c5639f69876b2f0f570b8fb68f1b5643f7

Contents?: true

Size: 613 Bytes

Versions: 3

Compression:

Stored size: 613 Bytes

Contents

PhcdevworksCoreModules::Engine.routes.draw do

  namespace :affiliate do
    resources :links
  end
    # 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 => '/'
    mount PhcdevworksAccountsStripe::Engine, :at => '/'

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phcdevworks_core_modules-7.2.0 config/routes.rb
phcdevworks_core_modules-7.1.4 config/routes.rb
phcdevworks_core_modules-7.1.3 config/routes.rb