Support the ongoing development of Laravel.io →
posted 10 years ago
Forms
Last updated 2 years ago.
0

To my knowledge, 'resource' isn't a parameter you can pass Form::open. So the fact that it was working in the past was, if I'm understanding it, a fluke depending on your other routes and config, not the desired behavior based on the "resource" option.

Check out both the docs: http://laravel.com/docs/4.2/html

And the FormBuilder code: https://github.com/illuminate/html/blob/master/FormBuilder.php

Last updated 2 years ago.
0

Thanks, Matt. I'm not sure why I assumed "resource" was an acceptable parameter, but it does explain my inconsistent behavior. lol

Your reference to the docs is, of course, appropriate here. I must have under some sort of hypnosis when I struggled over this one. Thanks.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.