Created
April 29, 2013 15:41
-
-
Save kristiankime/5482453 to your computer and use it in GitHub Desktop.
Example of how to use a scala package object to keep the usual play routing with val(s) instead of object(s).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package object controller { | |
val ControllerOne = configuration.ApplicationConfig.controllerOne | |
val ControllerTwo = configuration.ApplicationConfig.controllerTwo | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment