Skip to content

Instantly share code, notes, and snippets.

@lholmquist
Created December 12, 2012 15:36
Show Gist options
  • Save lholmquist/4268764 to your computer and use it in GitHub Desktop.
Save lholmquist/4268764 to your computer and use it in GitHub Desktop.
temp

Modified this route, and was successful

route()
    .from("/delorean")
    .on(RequestMethod.GET).produces(MediaType.JSON.toString())
    .to(Home.class).anotherPage();

Kept getting the same error with this one though

route()
    .from("/cars")
    .on(RequestMethod.GET)
    .produces(MediaType.JSON.toString())
    .to(Home.class).anotherPage();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment