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