Sha256: dcbe72894091e89a9d3c5f0e32faf59a3558f9966c0d9fd1f8b912b4f03e9be9

Contents?: true

Size: 479 Bytes

Versions: 6

Compression:

Stored size: 479 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

6 entries across 6 versions & 1 rubygems

Version Path
effective_qb_sync-1.2.5 config/routes.rb
effective_qb_sync-1.2.4 config/routes.rb
effective_qb_sync-1.2.3 config/routes.rb
effective_qb_sync-1.2.2 config/routes.rb
effective_qb_sync-1.2.1 config/routes.rb
effective_qb_sync-1.2.0 config/routes.rb