Skip to content

Instantly share code, notes, and snippets.

Last active May 31, 2020
What would you like to do?
Route::group(['prefix' => 'frameworks', 'middleware' => 'auth'], function()
Route::get('/create', function()
return view('frameworks.form');
Route::post('/store', function(\App\Http\Requests\FrameworksRequest $frameworksRequest)
$framework = new \App\Framework();
return redirect('frameworks/create')->with('message', 'Framework guardado correctamente');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment