Skip to content

Commit

Permalink
Avoid hardcoded plugin routes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Aug 29, 2024
1 parent 7cd821e commit 22a3a0b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arches_references/src/arches_references/routes.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
import arches from "arches";
import ControlledListsMain from "@/arches_references/components/ControlledListsMain.vue";

export const routes = [
{
path: "/plugins/controlled-list-manager",
path: arches.urls.plugin("controlled-list-manager"),
name: "splash",
component: ControlledListsMain,
},
{
path: "/plugins/controlled-list-manager/list/:id",
path: arches.urls.plugin("controlled-list-manager/list/:id"),
name: "list",
component: ControlledListsMain,
},
{
path: "/plugins/controlled-list-manager/item/:id",
path: arches.urls.plugin("controlled-list-manager/item/:id"),
name: "item",
component: ControlledListsMain,
},
Expand Down

0 comments on commit 22a3a0b

Please sign in to comment.