Sha256: 8418733bf210cb1bb7afbe0b43bc01cfe3d96e61022517573f670e9690e80d45

Contents?: true

Size: 1.97 KB

Versions: 36

Compression:

Stored size: 1.97 KB

Contents

Wco::Engine.routes.draw do
  root to: 'application#home'

  get 'application/tinymce', to: 'application#tinymce'

  resources :assets
  # get 'assets/:id', to: 'assets#show', as: :asset

  resources :galleries do
    post 'multiadd', :to => 'photos#j_create', :as => :multiadd
  end

  resources :headlines

  post 'invoices/send/:id',         to: 'invoices#email_send',         as: :send_invoice
  post 'invoices/cr-m/:leadset_id', to: 'invoices#create_monthly_pdf', as: :create_monthly_invoice_for_leadset
  post 'invoices/create-pdf',       to: 'invoices#create_pdf',         as: :create_invoice_pdf
  post 'invoices/create-stripe',    to: 'invoices#create_stripe',      as: :create_invoice_stripe
  get  'invoices/new_pdf',          to: 'invoices#new_pdf',            as: :new_invoice_pdf
  get  'invoices/new_stripe',       to: 'invoices#new_stripe',         as: :new_invoice_stripe
  post 'invoices/:id/send-stripe',  to: 'invoices#send_stripe',        as: :send_invoice_stripe
  resources :invoices

  get 'leads/new',     to: 'leads#new'
  post 'leads/bulkop', to: 'leads#bulkop'
  post 'leads/import', to: 'leads#import', as: :leads_import
  get 'leads/:id',     to: 'leads#show', id: /[^\/]+/
  resources :leads
  resources :leadsets
  delete 'logs/bulkop', to: 'logs#bulkop', as: :logs_bulkop
  resources :logs

  post 'office_action_templates', to: 'office_action_templates#update'
  resources :office_action_templates
  resources :office_actions

  resources :prices
  resources :products
  resources :profiles
  post 'publishers/:id/do-run', to: 'publishers#do_run', as: :run_publisher
  resources :publishers
  resources :photos

  get 'reports/deleted', to: 'reports#index', as: :deleted_reports, defaults: { deleted: true }
  resources :reports

  resources :sites
  resources :subscriptions

  resources :tags

  ## In order to have unsubscribes_url , unsubscribes must be in wco .
  get 'unsubscribes/analytics', to: 'unsubscribes#analytics'
  resources :unsubscribes

  resources :videos

end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
wco_models-3.1.0.132 config/routes.rb
wco_models-3.1.0.131 config/routes.rb
wco_models-3.1.0.130 config/routes.rb
wco_models-3.1.0.129 config/routes.rb
wco_models-3.1.0.128 config/routes.rb
wco_models-3.1.0.127 config/routes.rb
wco_models-3.1.0.126 config/routes.rb
wco_models-3.1.0.125 config/routes.rb
wco_models-3.1.0.124 config/routes.rb
wco_models-3.1.0.123 config/routes.rb
wco_models-3.1.0.122 config/routes.rb
wco_models-3.1.0.121 config/routes.rb
wco_models-3.1.0.120 config/routes.rb
wco_models-3.1.0.119 config/routes.rb
wco_models-3.1.0.118 config/routes.rb
wco_models-3.1.0.117 config/routes.rb
wco_models-3.1.0.116 config/routes.rb
wco_models-3.1.0.115 config/routes.rb
wco_models-3.1.0.114 config/routes.rb
wco_models-3.1.0.113 config/routes.rb