Submit a Form to Custom URL in Laravel 4 -


i have simple form allows user enter from_date , to_date.lets user enters 2014-09-01 , 2014-09-10 respectively.

how can form submit url ../from_date/2014-09-01/to_date/2014-09-10

you cannot if need this, need submit standard class controller , resubmit using redirection:

public function resubmit() {    redirect::to('/from_date/'.input::get('from_date').'/to_date/'.input::get('to_date'))->withinput(); } 

but honest don't know why try that. post data static url , display content using dynamic urls pretty urls.


Comments

Popular posts from this blog

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -