diff --git a/Application.hs b/Application.hs index 9bcb05d..9e48cb2 100644 --- a/Application.hs +++ b/Application.hs @@ -45,6 +45,7 @@ import Handler.Admin import Handler.AdminProfileSettings import Handler.AdminAlbumSettings import Handler.AdminMediumSettings +import Handler.AdminComments import Handler.Tag import Handler.RootFeed diff --git a/config/routes b/config/routes index c46e6f4..cfff163 100644 --- a/config/routes +++ b/config/routes @@ -37,7 +37,10 @@ /admin/album/#AlbumId/delete AdminAlbumDeleteR GET /admin/medium AdminMediaR GET /admin/medium/#MediumId AdminMediumSettingsR GET POST -/admin/meidum/#MediumId/delete AdminMediumDeleteR GET +/admin/medium/#MediumId/delete AdminMediumDeleteR GET +/admin/comment AdminCommentR GET +/admin/comment/#CommentId AdminCommentDeleteR GET + /tag/#Text TagR GET /feed/root/atom.xml RootFeedAtomR GET diff --git a/eidolon.cabal b/eidolon.cabal index 870737c..ab24e9b 100644 --- a/eidolon.cabal +++ b/eidolon.cabal @@ -38,6 +38,7 @@ library Handler.AdminProfileSettings Handler.AdminAlbumSettings Handler.AdminMediumSettings + Handler.AdminComments Handler.Tag Handler.RootFeed diff --git a/templates/adminBase.hamlet b/templates/adminBase.hamlet index f7b227c..de03f36 100644 --- a/templates/adminBase.hamlet +++ b/templates/adminBase.hamlet @@ -11,3 +11,5 @@ $newline always Albums
  • Media +
  • + Comments diff --git a/templates/commentDelete.hamlet b/templates/commentDelete.hamlet index 098fd3e..7e022d2 100644 --- a/templates/commentDelete.hamlet +++ b/templates/commentDelete.hamlet @@ -7,4 +7,4 @@ $newline always