1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-27 17:54:53 +09:00

Change some top-level routes' breadcrumbs to be under HomeR

This commit is contained in:
fr33domlover 2019-03-22 05:17:58 +00:00
parent c27636a438
commit 6c186355f3

View file

@ -766,8 +766,8 @@ instance YesodBreadcrumbs App where
RobotsR -> ("", Nothing)
PublishR -> ("Publish", Just HomeR)
InboxR -> ("Inbox", Nothing)
OutboxR -> ("Outbox", Nothing)
InboxR -> ("Inbox", Just HomeR)
OutboxR -> ("Outbox", Just HomeR)
ActorKey1R -> ("Actor Key 1", Nothing)
ActorKey2R -> ("Actor Key 2", Nothing)
@ -775,7 +775,7 @@ instance YesodBreadcrumbs App where
ResendVerifyEmailR -> ( "Resend verification email"
, Nothing
)
AuthR _ -> ("Auth", Nothing)
AuthR _ -> ("Auth", Just HomeR)
SharersR -> ("Sharers", Just HomeR)
SharerR shar -> (shr2text shar, Just SharersR)