Skip to content

Commit d5c2356

Browse files
committed
Correct type signature of breadcrumbLink
1 parent b0fadac commit d5c2356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IHP/Breadcrumb/ViewFunctions.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ renderBreadcrumb breadcrumbItems = styledBreadcrumb theCSSFramework theCSSFramew
3030
}
3131

3232

33-
breadcrumbLink :: (Show controller, AutoRoute controller) => Html -> controller -> BreadcrumbItem
33+
breadcrumbLink :: (HasPath controller) =>Html -> controller -> BreadcrumbItem
3434
breadcrumbLink label route =
3535
breadcrumbLinkExternal label (pathTo route)
3636

0 commit comments

Comments
 (0)