Skip to content

Commit

Permalink
Merge pull request #16 from xkobal/master
Browse files Browse the repository at this point in the history
User Deprecated: Referencing controllers with a single colon is deprecated since Symfony 4.1.
  • Loading branch information
mcg-web authored May 14, 2018
2 parents b6581c4 + fd5794a commit e3164ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/config/routing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
http://symfony.com/schema/routing/routing-1.0.xsd">

<route id="overblog_graphiql_endpoint" path="/graphiql">
<default key="_controller">overblog_graphiql.controller:indexAction</default>
<default key="_controller">Overblog\GraphiQLBundle\Controller\GraphiQLController::indexAction</default>
</route>

<route id="overblog_graphiql_endpoint_multiple" path="/graphiql/{schemaName}">
<default key="_controller">overblog_graphiql.controller:indexAction</default>
<default key="_controller">Overblog\GraphiQLBundle\Controller\GraphiQLController::indexAction</default>
</route>
</routes>
4 changes: 4 additions & 0 deletions Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@
<argument type="service" id="overblog_graphiql.view.config" />
<argument type="service" id="overblog_graphiql.controller.graphql.endpoint" />
</service>
<service id="Overblog\GraphiQLBundle\Controller\GraphiQLController"
alias="overblog_graphiql.controller"
public="true">
</service>
</services>
</container>

0 comments on commit e3164ef

Please sign in to comment.