Skip to content

Commit

Permalink
fix wrong handler used
Browse files Browse the repository at this point in the history
  • Loading branch information
paoloose committed Nov 29, 2024
1 parent 75d756f commit a1a1829
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stiller-backend/internal/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ var routes = [...]individualHandler{
handlefunc: handlers.PostTemplateNew,
},
{
path: "/gallery",
path: "/gallery/:slug",
method: http.MethodGet,
handlefunc: handlers.GetGallery,
handlefunc: handlers.GetGalleryDetail,
},
{
path: "/gallery/:slug",
path: "/gallery",
method: http.MethodGet,
handlefunc: handlers.GetGallery,
},
Expand Down

0 comments on commit a1a1829

Please sign in to comment.