package controllers;

import play.mvc.*;

import views.html.*;

public class ArticleController extends Controller {
  public Result index() {
    return ok(index.render("index"));
  }

  public Result show(int id) {
    return ok(show.render("TestPage", "hoge"));
  }

  public Result edit(int id) {
    return ok(edit.render("edit"));
  }

  public Result add() {
    return ok(add.render("new"));
  }

  public Result update(int id) {
    return ok(update.render("update"));
  }

  public Result destroy(int id) {
    return ok(destroy.render("destroy"));
  }

  public Result create() {
    return ok(create.render("create"));
  }

  public Result revert() {
    return ok(revert.render("revert"));
  }
}


@@ -240,24 +240,12 @@
 er(%22
-TestPage%22, %22hoge
+show
 %22));

fix show