Created
February 11, 2013 21:14
-
-
Save andrewconner/4757684 to your computer and use it in GitHub Desktop.
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 common.modules | |
import com.tzavellas.sse.guice.ScalaModule | |
import common.translation._ | |
class ProdModule extends ScalaModule { | |
def configure() { | |
bind[Translator].to[FrenchTranslatorImpl] | |
} | |
} | |
class DevModule extends ScalaModule { | |
def configure() { | |
bind[Translator].to[FakeTranslator] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment