Chris Thompson 6906174183 Fixes a bug where passed to route() causes errors
This attempts to fix #510 even though the example provided by @zsoltgyure isn't actually using route model binding.

This bugfix was tested and works with the following.

Non-route model binding:
```
{{ Form::open(['route' => ['mytest', [$file->id]]]) }}
```

Another non-route model binding:
```
{{ Form::open(['route' => ['mytest', $file->id]]) }}
```

Multiple models into route model binding:
```
{{ Form::open(['route' => ['manage.files.delete', [$currentPodcast, $file]]]) }}
```

Single model into route model binding:
```
{{ Form::open(['route' => ['manage.podcast.delete', $currentPodcast]]) }}
```
2019-11-12 20:02:04 -05:00
2018-09-05 14:32:53 -04:00
2015-02-05 10:39:05 -06:00
2015-02-05 10:39:05 -06:00
2015-02-05 10:39:05 -06:00
2019-08-27 16:36:57 -04:00
2015-02-05 10:39:05 -06:00
2015-02-05 10:39:05 -06:00
2015-12-01 04:45:27 -05:00
2018-09-05 14:32:53 -04:00
2019-09-14 22:45:53 -04:00

LaravelCollective HTML

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

Official documentation for Forms & Html for The Laravel Framework can be found at the LaravelCollective website.

S
Description
HTML y Form Builders para Laravel 11, 12 y 13 (fork mantenido de laravelcollective/html)
Readme MIT
620 KiB
0 Stars 2 Watchers 0 Forks
v7.0.0
Latest
2026-11-26 15:46:25 -06:00
Languages
PHP 100%