Scala Form, Type mismatch error <p>I am trying to do CRUD on a Category class:</p> <p><strong>categoryEdit.scala.html</strong>:</p> <pre><code>@(cat: Category, myForm: Form[Category]) @admin(title = "Category") { @helper.form(action = controllers.Application.categorySave) { @inputText(myForm("name")) &lt;input type="submit" value="Save"&gt; } } </code></pre> <p>The <strong>controller</strong> code:</p> <pre><code>public static Result categorySave() { // save form data here ... return redirect( routes.Application.index() ); } </code></pre> <p>Entry in Routes file is as below.</p> <pre><code>GET /saveCategory controllers.Application.categorySave() </code></pre> <p>I am getting this error: </p> <pre><code>type mismatch; found : play.mvc.Result required: play.api.mvc.Call </code></pre> <p>on this line: <code>@helper.form(action = controllers.Application.categorySave) {</code></p> <p>What's wrong in my form? I am missing something?</p>