Sha256: 6fabc581a58ae9cd649e9a95898d820518b914d0883d0bf8c19d0b0bb3f3cfa2

Contents?: true

Size: 1.78 KB

Versions: 37

Compression:

Stored size: 1.78 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/:id',     to: 'leads#show', id: /[^\/]+/
  post 'leads/bulkop', to: 'leads#bulkop'
  post 'leads/import', to: 'leads#import', as: :leads_import
  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: :do_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

  resources :videos

end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
wco_models-3.1.0.82 config/routes.rb
wco_models-3.1.0.81 config/routes.rb
wco_models-3.1.0.80 config/routes.rb
wco_models-3.1.0.79 config/routes.rb
wco_models-3.1.0.78 config/routes.rb
wco_models-3.1.0.77 config/routes.rb
wco_models-3.1.0.76 config/routes.rb
wco_models-3.1.0.75 config/routes.rb
wco_models-3.1.0.74 config/routes.rb
wco_models-3.1.0.73 config/routes.rb
wco_models-3.1.0.72 config/routes.rb
wco_models-3.1.0.71 config/routes.rb
wco_models-3.1.0.70 config/routes.rb
wco_models-3.1.0.69 config/routes.rb
wco_models-3.1.0.67 config/routes.rb
wco_models-3.1.0.66 config/routes.rb
wco_models-3.1.0.65 config/routes.rb
wco_models-3.1.0.64 config/routes.rb
wco_models-3.1.0.63 config/routes.rb
wco_models-3.1.0.62 config/routes.rb