Sha256: cb530119cb700a8c08240be75a856a8d18e82c0882d6adc9da5a77a8a06de641
Contents?: true
Size: 1.05 KB
Versions: 5
Compression:
Stored size: 1.05 KB
Contents
# frozen_string_literal: true 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
5 entries across 5 versions & 1 rubygems