Skip to content

Commit

Permalink
Move actioncomposition config to application.conf due to #694
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluiz committed Dec 4, 2017
1 parent 7e17f56 commit 0c7cf89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions common/conf/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -403,10 +403,7 @@ httpAuth.basic = {
# ~~~~~

play = {
http = {
errorHandler = "com.commercetools.sunrise.play.http.SunriseDefaultHttpErrorHandler"
actionComposition.controllerAnnotationsFirst = true
}
http.errorHandler = "com.commercetools.sunrise.play.http.SunriseDefaultHttpErrorHandler"

modules {
enabled += "com.commercetools.sunrise.framework.injection.SunriseModule"
Expand Down
2 changes: 2 additions & 0 deletions conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,8 @@ play = {
crypto.secret="changeme"
crypto.secret=${?APPLICATION_SECRET}

http.actionComposition.controllerAnnotationsFirst = true

application.loader = "com.commercetools.sunrise.play.configuration.SunriseGuiceApplicationLoader"
}

Expand Down

0 comments on commit 0c7cf89

Please sign in to comment.