📜  @foreac laravel - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:41.534000             🧑  作者: Mango

代码示例9
Route::get('/', 'PageController@index');
  Route::get('/welcome','PageController@Welcome');
  Route::get('/services', 'PageController@services');
  Route::get('/register', 'PageController@register');
  Route::get('/Create', 'PageController@Create');
  Route::get('/search', 'PageController@search');
  Route::get('/payment', 'PageController@Payment');



  Route::resource('posts', 'PostsController');
  Route::resource('search', 'SearchController');
  Route::resource('reviews', 'ReviewsController');