Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a route for the root URL

  • Loading branch information...
commit c8e7ce03062066b4b72dd16cc41c711f33ce581f 1 parent 93dc1b8
David Davis authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/shared_resource/views/resource.clj
View
3  src/shared_resource/views/resource.clj
@@ -53,6 +53,9 @@
(defpage "/resources" []
(resources-page (r/get-all)))
+(defpage "/" []
+ (resources-page (r/get-all)))
+
(defpage "/resources/:id" {:keys [id]}
(resource-page (r/get-by-id id)))
Please sign in to comment.
Something went wrong with that request. Please try again.