Sha256: 130c02761c8c6c8a70fbde8fa68da857e1a9ace9c213d06ff80c22bfa297f693

Contents?: true

Size: 476 Bytes

Versions: 11

Compression:

Stored size: 476 Bytes

Contents

EffectiveQbSync::Engine.routes.draw do
  scope module: 'effective' do
    match 'quickbooks/api', to: 'qb_sync#api', as: 'qb_sync', via: :all
  end

  namespace :admin do
    resources :qb_syncs, only: [:index, :show, :update] do
      get :instructions, on: :collection
      get :qwc, on: :collection
      post :set_all_orders_finished, on: :collection
    end
  end
end

Rails.application.routes.draw do
  mount EffectiveQbSync::Engine => '/', as: 'effective_qb_sync'
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
effective_qb_sync-1.5.0 config/routes.rb
effective_qb_sync-1.4.0 config/routes.rb
effective_qb_sync-1.3.8 config/routes.rb
effective_qb_sync-1.3.7 config/routes.rb
effective_qb_sync-1.3.6 config/routes.rb
effective_qb_sync-1.3.5 config/routes.rb
effective_qb_sync-1.3.4 config/routes.rb
effective_qb_sync-1.3.3 config/routes.rb
effective_qb_sync-1.3.2 config/routes.rb
effective_qb_sync-1.3.1 config/routes.rb
effective_qb_sync-1.3.0 config/routes.rb