|
@@ 328-333 (lines=6) @@
|
| 325 |
|
$factory->url = url('logout'); |
| 326 |
|
}); |
| 327 |
|
|
| 328 |
|
$builder->insertAfter('index', function (Builder $builder) { |
| 329 |
|
$builder->create('users', Link::class, function(LinkFactory $factory) { |
| 330 |
|
$factory->title = 'Users'; |
| 331 |
|
$factory->url = url('users'); |
| 332 |
|
}); |
| 333 |
|
}); |
| 334 |
|
|
| 335 |
|
$builder->insertBefore('users', function (Builder $builder) { |
| 336 |
|
$builder->create('profile', Link::class, function(LinkFactory $factory) { |
|
@@ 335-340 (lines=6) @@
|
| 332 |
|
}); |
| 333 |
|
}); |
| 334 |
|
|
| 335 |
|
$builder->insertBefore('users', function (Builder $builder) { |
| 336 |
|
$builder->create('profile', Link::class, function(LinkFactory $factory) { |
| 337 |
|
$factory->title = 'Profile'; |
| 338 |
|
$factory->url = url('profile'); |
| 339 |
|
}); |
| 340 |
|
}); |
| 341 |
|
|
| 342 |
|
$this->assertEquals($this->getStub('insert.html'), $builder->render('another')); |
| 343 |
|
} |