src/Form/Field/BelongsToRelation.php 1 location
|
@@ 60-66 (lines=7) @@
|
57 |
|
* |
58 |
|
* @return string |
59 |
|
*/ |
60 |
|
protected function getLoadUrl($multiple = 0) |
61 |
|
{ |
62 |
|
$selectable = str_replace('\\', '_', $this->selectable); |
63 |
|
$args = [$multiple]; |
64 |
|
|
65 |
|
return route('admin.handle-selectable', compact('selectable', 'args')); |
66 |
|
} |
67 |
|
|
68 |
|
/** |
69 |
|
* @return $this |
src/Grid/Displayers/BelongsTo.php 1 location
|
@@ 15-21 (lines=7) @@
|
12 |
|
* |
13 |
|
* @return string |
14 |
|
*/ |
15 |
|
protected function getLoadUrl($selectable, $multiple = 0) |
16 |
|
{ |
17 |
|
$selectable = str_replace('\\', '_', $selectable); |
18 |
|
$args = [$multiple]; |
19 |
|
|
20 |
|
return route('admin.handle-selectable', compact('selectable', 'args')); |
21 |
|
} |
22 |
|
|
23 |
|
/** |
24 |
|
* @return mixed |