Skip to content

Commit

Permalink
Fix merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
dhleong committed Nov 18, 2018
1 parent 1af18b1 commit 5d050cb
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/cljs/wish/util/nav.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5d050cb

Please sign in to comment.