app/Http/Requests/updateProfile.php
/**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
Determine if the user is authorized to make this request.
@return bool
Determine if the user is authorized to make this request . @return bool
public function authorize()
    {
        if (Session::has("user_id")) return true;
        return false;
    }
public function authorize ( ) { if ( Session :: has ( " user_id " ) ) return true ; return false ; }
Determine if the user is authorized to make this request.
Determine if the user is authorized to make this request .