1
내가 Laravel 4에 새로 온 사람, 그리고 내가 URL::route
Laravel 4 패스 경로
내 길을 여러 매개 변수를 전달하는 방법을 알 필요로하여 여러개의 매개 변수 :
/*==========================
| edit-adherent (Get)
*///========================
Route::post('/manage-association/{id_association}/edit-adherent/{id_adherent}', array(
'as' => 'edit-adherent',
'uses' => '[email protected]'
));
내가 다음 구문을 시도 그러나 작동하지 않습니다 :
<a href="{{ URL::route('edit-adherent', $id_association, $adherent->id) }}">Edit</a>
가 나는 또한 시도 하나 그 :
<a href="{{ URL::route('edit-adherent', array($id_association, $adherent->id)}}">Edit</a>
,
어떤 도움을 크게 감상 할 수있다, 나의 나쁜 전달