fix router

This commit is contained in:
Inhji 2023-07-03 20:46:16 +02:00
parent 6fddb85c2e
commit 2626db4eb0

View file

@ -134,10 +134,11 @@ defmodule ChiyaWeb.Router do
get "/note/:slug", PageController, :note get "/note/:slug", PageController, :note
get "/channel/:slug", PageController, :channel get "/channel/:slug", PageController, :channel
get "/tagged-with/:slug", PageController, :tag get "/tagged-with/:slug", PageController, :tag
get "/", PageController, :home
get "/about", PageController, :about get "/about", PageController, :about
get "/", PageController, :home
# TODO: Comments are disabled for now # TODO: Comments are disabled for now
# and need a better submit/approve flow # and need a better submit/approve flow
# post "/note/:slug/comment", CommentController, :create # post "/note/:slug/comment", CommentController, :create