Socieboy\Forum\Requests\CorrectAnswerRequest::authorize PHP Method

authorize() public method

Determine if the user is authorized to make this request.
public authorize ( Illuminate\Contracts\Auth\Guard $auth ) : boolean
$auth Illuminate\Contracts\Auth\Guard
return boolean
    public function authorize(Guard $auth)
    {
        return $this->route('conversation_user_id') == $auth->user()->id;
    }
CorrectAnswerRequest