diff --git a/src/cljs/wish/util/nav.cljs b/src/cljs/wish/util/nav.cljs index 60516f87..2f395110 100644 --- a/src/cljs/wish/util/nav.cljs +++ b/src/cljs/wish/util/nav.cljs @@ -108,27 +108,6 @@ [id & extra-sections] (apply base-sheet-url "campaigns" id extra-sections)) -(defn sheet-url - "Generate the url to a sheet, optionally with - extra path sections after it" - [kind id & extra-sections] - (apply str "/" kind - "/" (namespace id) - "/" (name id) - (when extra-sections - (interleave (repeat "/") - (map - #(if (keyword? %) - (name %) - (str %)) - extra-sections))))) - -(defn campaign-url - "Generate the url to a campaign, optionally with - extra path sections after it" - [id & extra-sections] - (apply base-sheet-url "campaigns" id extra-sections)) - (defn sheet-url "Generate the url to a sheet, optionally with extra path sections after it"