/**
  * Determine if the user is authorized to make this request.
  *
  * @return bool
  */
 public function authorize()
 {
     if (\Auth::guest()) {
         return false;
     } else {
         return true;
     }
 }
Beispiel #2
0
 /**
  * Determine if the user is authorized to make this request
  *
  * @return  bool          
  */
 public function authorize()
 {
     return Auth::guest();
 }