Skip to content

Commit ac8785c

Browse files
new route created for storing post
1 parent 2e8e38b commit ac8785c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

routes/web.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@
1111
|
1212
*/
1313

14-
Route::get('/','PostController@create');
14+
Route::get('/','PostController@create')->name('post.create');
15+
Route::post('/','PostController@store')->name('post.store');

0 commit comments

Comments
 (0)