Skip to content

Support passing data from controller to Breadcrumbs::current() #2

@lbssousa

Description

@lbssousa

Please provide support for passing data from a Laravel controller to Breadcrumbs::current() in a Blade template, as Breadcrumbs::render() from project https://github.com/davejamesmiller/laravel-breadcrumbs does. It will allow one to avoid calling the same Eloquent model or HTTP request twice (once in controller, and once in route's breadcrumbs() definition).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions