forked from miguel456/rbrecruiter
Added save function to save button
This commit also improves how forms are parsed by PHP by passing them as arrays, therefore making them easier to process. Note: One of the files contains a debug statement that will be removed in the next commit
This commit is contained in:
@@ -67,7 +67,11 @@ Route::group(['middleware' => 'auth'], function(){
|
||||
|
||||
Route::resource('positions', 'VacancyController');
|
||||
|
||||
Route::resource('forms', 'FormController');
|
||||
Route::get('forms', 'FormController@index')
|
||||
->name('showFormBuilder');
|
||||
|
||||
Route::post('forms/save', 'FormController@saveForm')
|
||||
->name('saveForm');
|
||||
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user