Letractively / activeweb

Automatically exported from code.google.com/p/activeweb
0 stars 0 forks source link

Custom routing is not correct with two static segments and two dynamic ones #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Custom route:
route("/admin/retry/{job_id}/{send_id}").to(AdminController.class).post();

Controller:
public class AdminController extends AppController {
    @POST
    public void retry(){
        System.out.println(params());
        respond("OK");
    }
}

Exception:
Caused by: java.lang.NoSuchMethodException: 
app.controllers.AdminController.index()

Original issue reported on code.google.com by i...@polevoy.org on 2 Oct 2012 at 9:14

GoogleCodeExporter commented 9 years ago
failed to reproduce

Original comment by i...@polevoy.org on 4 Feb 2013 at 11:14