Created
April 15, 2016 19:48
-
-
Save ferdiunal/57a4dccf412267813d15ba4cc99a8db6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
Route::group(['middleware' => 'web'],function(){ | |
Route::get('post',['as' => 'post.index','uses' => 'PostController@index']); // Burada Post sayfasını görüntüleyeceğiz. | |
Route::post('post',['middleware' => 'throttle:5','uses' => 'PostController@store']) // middleware eklememizin sebebi, art arda sunucu istekleini engellemek | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment