Skip to content

Commit

Permalink
grammar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dom Kiva-Meyer committed Jul 3, 2014
1 parent 718f07b commit 22ae87f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/omelette/route.cljx
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@
"Takes search page data map.
Returns a string describing the search."
[{:keys [query options]}]
(let [opt-pairs {:prefix "starts with"
:infix "includes"
:postfix "ends with"}
(let [opt-pairs {:prefix "start with"
:infix "include"
:postfix "end with"}
[a b c :as opts] (->> (keys opt-pairs)
(map (comp opt-pairs options))
(remove nil?))
Expand Down

0 comments on commit 22ae87f

Please sign in to comment.