| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/','Articlescontroller@index');
// Route::get('/',[Articlescontroller::class, 'index']);
Route::get('/articles', 'Articlescontroller@index');
Route::get('/articles/create', 'Articlescontroller@create');
Route::get('/articles/{article}', 'Articlescontroller@show')->name('articles.show');
Route::post('/articles', 'Articlescontroller@store');
Route::get('/articles/{article}/edit', 'Articlescontroller@edit');