From 55f736c1064377eea8d07344378b125d9ccdd038 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 12 Mar 2017 00:03:16 +0100 Subject: Redirect /#itemId GET to /#itemId/update --- bragi/bar.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/bragi/bar.hs b/bragi/bar.hs index 40548f37..df799326 100755 --- a/bragi/bar.hs +++ b/bragi/bar.hs @@ -425,6 +425,7 @@ getItemR itemId = do selectRep $ do provideJson entity + provideRep (redirect $ UpdateItemR itemId :#: itemFragment itemId :: Handler Html) patchItemR :: ItemId -> Handler Value patchItemR itemId = do -- cgit v1.2.3