Skip to content

Commit

Permalink
Merge branch '1.0' into 1.1
Browse files Browse the repository at this point in the history
* 1.0:
  Fix exception controller config
  • Loading branch information
pamil committed Apr 25, 2018
2 parents 3a0864f + f2cb788 commit 50c149e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/config/config.yml
Expand Up @@ -51,7 +51,7 @@ swiftmailer:
password: "%mailer_password%"

fos_rest:
exception: ~
exception: true
view:
formats:
json: true
Expand Down
4 changes: 4 additions & 0 deletions app/config/routing_dev.yml
Expand Up @@ -9,5 +9,9 @@ _profiler:
resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml"
prefix: /_profiler

_errors:
resource: '@TwigBundle/Resources/config/routing/errors.xml'
prefix: /_error

_main:
resource: routing.yml
Expand Up @@ -90,7 +90,6 @@ stof_doctrine_extensions:
twig:
debug: "%kernel.debug%"
strict_variables: "%kernel.debug%"
exception_controller: "FOS\\RestBundle\\Controller\\ExceptionController::showAction"
globals:
sylius: "@sylius.context.shopper"
sylius_base_locale: "%locale%"
Expand Down

0 comments on commit 50c149e

Please sign in to comment.