Sha256: fbdaad0ca8dd991f336e607594be80e24a0bb40d7884f7428b9ae2787d4f4a1c

Contents?: true

Size: 1.02 KB

Versions: 7

Compression:

Stored size: 1.02 KB

Contents

Avatax::Engine.routes.draw do

  root to: 'configuration#index'

  resources :configuration, :only => [:index]

  scope '/configuration' do
    match '/tax_code' => 'configuration#set_tax_code', :via => :get, :as => 'set_tax_code_configuration'
    match '/tax_code' => 'configuration#do_set_tax_code', :via => :post, :as => 'do_set_tax_code_configuration'
    match '/tax_code' => 'configuration#remove_tax_code', :via => :delete, :as => 'remove_tax_code_configuration'

    match '/exemption' => 'configuration#set_exemption', :via => :get, :as => 'set_exemption_configuration'
    match '/exemption' => 'configuration#do_set_exemption', :via => :post, :as => 'do_set_exemption_configuration'
    match '/exemption' => 'configuration#remove_exemption', :via => :delete, :as => 'remove_exemption_configuration'

    match '/plugin' => 'configuration#plugin_configuration', :via => :get, :as => 'plugin_configuration'
    match '/plugin' => 'configuration#update_plugin_configuration', :via => :post, :as => 'update_plugin_configuration'
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
killbill-avatax-2.0.0 config/routes.rb
killbill-avatax-1.0.0 config/routes.rb
killbill-avatax-0.2.0 config/routes.rb
killbill-avatax-0.1.0 config/routes.rb
killbill-avatax-0.0.3 config/routes.rb
killbill-avatax-0.0.2 config/routes.rb
killbill-avatax-0.0.1 config/routes.rb