Skip to content

Commit 63a4724

Browse files
crissiMikk Mihkel Nurges
authored andcommitted
fix custom controller for graphiql (#121)
fix custom controller for graphiql
1 parent 7667adc commit 63a4724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rebing/GraphQL/routes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
'middleware' => config('graphql.graphiql.middleware', [])
114114
], function ($router)
115115
{
116-
$graphiqlController = config('graphql.graphiql.controllers') ?? \Rebing\GraphQL\GraphQLController::class . '@graphiql';
116+
$graphiqlController = config('graphql.graphiql.controller') ?? \Rebing\GraphQL\GraphQLController::class . '@graphiql';
117117
$schemaParameterPattern = '/\{\s*graphql\_schema\s*\?\s*\}/';
118118
foreach (config('graphql.schemas') as $name => $schema)
119119
{

0 commit comments

Comments
 (0)