diff --git a/src/main/frontend/router.cljs b/src/main/frontend/router.cljs index 9deae04..a3c38c1 100644 --- a/src/main/frontend/router.cljs +++ b/src/main/frontend/router.cljs @@ -15,7 +15,7 @@ {:name :about :view frontend.views/about-page :link-text "About"}] - ["item/:id" + ["hp/:id" {:name :item :view frontend.views/item-page :link-text "Item" diff --git a/src/main/frontend/views.cljs b/src/main/frontend/views.cljs index 51350ee..34b2798 100644 --- a/src/main/frontend/views.cljs +++ b/src/main/frontend/views.cljs @@ -10,7 +10,7 @@ {:type "button" :on-click #(rfe/push-state :item {:id id}) :class "btn btn-blue"} - "Item " id] + "Post " id] [:br]])