Closed oleksandrnechaiev closed 5 years ago
Hi and Thank you for the PR.
I don't think it's a good idea to have RouteValues
in the attributes since you can't really set them anyways, might aswell just store the Area's name and set it in the nodes ^^
Hi, yeah, you are right, well, then we should replace it with Area's name and add creation of it inside constructor instead of just assigning. What do you think?
Yeah just keep the area name in the attribute and pass it on the node's ctor. Commit the change and I will merge the pr :p
Thank you! I will update the NuGet package when I finish icons.
Thank you, please, let me know when you update it=) Thanks!
Hi, sorry for the delay. The package is now uploaded (https://www.nuget.org/packages/SmartBreadcrumbs/1.0.5).
Thank you very much!
Now we can add it like this second param is the name of area if in config routes we have like this {area=Home}/{controller=Home}/{action=Index}
[DefaultBreadcrumb("Home", "Home")] same for BreadcrumbAttribute