Support the ongoing development of Laravel.io →
posted 11 years ago
Forms

For some reason when a reply is posted to:

http://laravel.io/forum/03-11-2014-how-to-get-secure-routes-in-form

The form submits to:

https://baseurl.../public/index.php/user/new

here's my response to the question asked:

you can try the following:

echo Form::open( array('url' =>  url('user/new', array(), true )  ) ) ;

The last parameter to url() sets the URL to secure when true or non-secure when false

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

jgarifuna jgarifuna Joined 25 Feb 2014

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.

© 2025 Laravel.io - All rights reserved.