public function onEditDevice($id)
    {
        $this->onDevicesList();
        Breadcrumbs::register('device-edit', function($breadcrumbs) use($id) {
            $breadcrumbs->parent('devices-list');
            $breadcrumbs->push('Device edit #' . $id, handles('antares::logger/devices/' . $id . '/edit'));
        });
        view()->share('breadcrumbs', Breadcrumbs::render('device-edit'));
    }
public function onEditDevice($id)
    {
        $this->onDevicesList();
        Breadcrumbs::register('device-edit', function($breadcrumbs) use($id) {
            $breadcrumbs->parent('devices-list');
            $breadcrumbs->push('Device edit #' . $id, handles('antares::logger/devices/' . $id . '/edit'));
        });
        view()->share('breadcrumbs', Breadcrumbs::render('device-edit'));
    }
public function onEditDevice ( $ id ) { $ this -> onDevicesList ( ) ; Breadcrumbs :: register ( 'device-edit' , function ( $ breadcrumbs ) use ( $ id ) { $ breadcrumbs -> parent ( 'devices-list' ) ; $ breadcrumbs -> push ( 'Device edit #' . $ id , handles ( 'antares::logger/devices/' . $ id . '/edit' ) ) ; } ) ; view ( ) -> share ( 'breadcrumbs' , Breadcrumbs :: render ( 'device-edit' ) ) ; }
shows breadcrumbs on device edit;

@param mixed $id
@return void
shows breadcrumbs on device edit ;