SHARE
TWEET

Untitled

a guest Jan 14th, 2020 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Route::resource('article', 'ArticleController');
  2. Route::group(['middleware' => ['user', 'verified']], function()
  3. {
  4.     Route::resource('article', 'ArticleController', ['only' => ['create']]);
  5. });
  6. Route::group(['middleware' => 'vlastnik'], function()
  7. {
  8.     Route::resource('article', 'ArticleController', ['only' => ['edit', 'delete']]);
  9. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top