Created
October 2, 2013 07:16
-
-
Save potato2003/6790082 to your computer and use it in GitHub Desktop.
Play2のコードみてて気になったメモ。なにをやっているのかわからない。
def session(implicit request: RequestHeader) = request.session と何が違うのだろうか
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
implicit def session(implicit request: RequestHeader) = request.session |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
暗黙的パラメータをとる、暗黙的パラメータの定義ということで解決した。
http://d.hatena.ne.jp/gakuzo/20111204/1323007376