Skip to content

Commit

Permalink
Merge pull request #45 from sitegeist/bugfix/login-redirect
Browse files Browse the repository at this point in the history
BUGFIX: Add default formats to monocle routes
  • Loading branch information
grebaldi authored Jul 23, 2017
2 parents d9a67e9 + f13dcb1 commit 217fba0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Configuration/Routes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
defaults:
'@package': 'Sitegeist.Monocle'
'@subpackage': ''
'@controller' : 'Api'
'@controller': 'Api'
'@format': 'html'
httpMethods: ['GET','POST']

-
Expand All @@ -28,5 +29,6 @@
defaults:
'@package': 'Sitegeist.Monocle'
'@subpackage': ''
'@controller' : 'Preview'
'@controller': 'Preview'
'@format': 'html'
httpMethods: ['GET','POST']

0 comments on commit 217fba0

Please sign in to comment.