mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
Add routing test and make ns name consistent
This commit is contained in:
committed by
Gabriel Horner
parent
b4f26a5c7b
commit
6e0dea3f2c
@@ -3,7 +3,7 @@
|
||||
(:require [rum.core :as rum]
|
||||
[frontend.handler :as handler]
|
||||
[frontend.handler.plugin :as plugin-handler]
|
||||
[frontend.handler.route :as route]
|
||||
[frontend.handler.route :as route-handler]
|
||||
[frontend.page :as page]
|
||||
[frontend.routes :as routes]
|
||||
[frontend.spec]
|
||||
@@ -20,7 +20,7 @@
|
||||
(rfe/start!
|
||||
(rf/router routes/routes nil)
|
||||
(fn [route]
|
||||
(route/set-route-match! route)
|
||||
(route-handler/set-route-match! route)
|
||||
(plugin-handler/hook-plugin-app
|
||||
:route-changed (select-keys route [:template :path :parameters])))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user