msurguy / Honeypot

Simple spam prevention package for Laravel applications
maxoffsky.com/code-blog/implementing-honeypot-spam-prevention-in-laravel-applications/
MIT License
429 stars 44 forks source link

Form::open requires an array? #7

Closed tristar500 closed 10 years ago

tristar500 commented 10 years ago

When I tried to use

{{ Form::open('contact') }} I got an error about argument 1 is supposed to be an array.

{{ Form::open(array('contact'))}} worked for me.

msurguy commented 10 years ago

I'm sorry but this is something that Laravel 4 requires in its syntax (either pass an array with params or leave Form::open empty of params for Laravel to use current URL for form submission), this has nothing to do with the Honeypot package...