Skip to content

Commit

Permalink
Use new resource route names
Browse files Browse the repository at this point in the history
  • Loading branch information
swlkr committed Mar 19, 2019
1 parent a1b6eed commit a1df0eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coast/router.clj
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@
{:method :get
:route (str route-str "/build")
:handler (keyword resource-name "build")
:name :fresh}
:name :build}
{:method :get
:route (str route-str "/:" resource-name "-id")
:handler (keyword resource-name "view")
:name :show}
:name :view}
{:method :post
:route route-str
:handler (keyword resource-name "create")
Expand Down

0 comments on commit a1df0eb

Please sign in to comment.