Comment 1 for bug 501658

Revision history for this message
Guillaume Bort (guillaume-bort) wrote :

Try with:

package controllers;

import play.mvc.*;
import play.mvc.Router.*;

public class Application extends Controller {

    public static void index() {
        Long id = 9L;
        ActionDefinition action = reverse(); {
            show(id);
        }
        renderText("Redirecting to %s", action.addRef("boo"));
    }

    public static void show(Long id) {
        //
    }

}