dingo / dingo/api

Undefined index: v1

Open
#1,400 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
9.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Hello,

I tried to call internal API with URLGenerator.

$this->ApiURL = app('Dingo\Api\Routing\UrlGenerator');
$apiUrl = $this->ApiURL->version('v1')->route('role.save', ['id' => $id]);

I got "Undefined index: v1" ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.