Sha256: 075dd3a934812cbfb286a10b26e575b87273c657dccfdaec8c6f4d8173d2f3d5

Contents?: true

Size: 557 Bytes

Versions: 3

Compression:

Stored size: 557 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 => '/'

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phcdevworks_core_modules-7.2.2 config/routes.rb
phcdevworks_core_modules-7.2.1 config/routes.rb
phcdevworks_core_modules-7.1.2 config/routes.rb