Skip to content

Commit

Permalink
allow vars as handler for reloading
Browse files Browse the repository at this point in the history
  • Loading branch information
darkleaf committed Nov 10, 2016
1 parent 2294492 commit a3ecc07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darkleaf/router/low_level.clj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
(set? vars)
(map? pattern)
(map? template)
(fn? handler)]}
(ifn? handler)]}
(Route. name
vars pattern template
handler '()))
Expand Down

0 comments on commit a3ecc07

Please sign in to comment.