by shigemk2

当面は技術的なことしか書かない

play-scalaのごにょごにょ その1

The first line defines the function signature. Here it takes a single String parameter. Then the template content mix HTML (or any text based language) with Scala statements. The Scala statements starts with the special @ character.

With this change the index action will now respond with a simple text/plain Hello world response.

ちょっと遊んでみたかっただけ。

関数はdef Okで出力。