summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorNoah Silvera <noah@super.gd>2021-02-08 14:45:58 -0800
committerNicholas Van Doorn <vandoorn.nick@gmail.com>2021-05-12 14:57:57 -0700
commitcb335e2577189ab8c285bf3e174d18c706c42dd2 (patch)
treee425040f5987b177d555e4254d6e44acf0ee856e /config
parenta42a41f7539f06390ac657444dc39656cbd5debc (diff)
Add basic UI for Taxjar settings in solidus admin
This commit adds a tab to the taxes section of the solidus admin settings. This provides the foundation for further configuration of taxjar through the solidus admin. The settings should be hidden if an API key has not been provided. This is to conform to the certification guidelines for an official Taxjar extension. Co-authored-by: Nick Van Doorn <nick@super.gd>
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
new file mode 100644
index 0000000..36ac61d
--- /dev/null
+++ b/config/routes.rb
@@ -0,0 +1,7 @@
+# frozen_string_literal: true
+
+Spree::Core::Engine.routes.draw do
+ namespace :admin do
+ resource :taxjar_settings, only: [:show]
+ end
+end