 <p>Most likely your routing is not doing what you think so you are hitting a different route entirely than you think you are. Probably you are hitting the default 404 not found handler route. Instead of posting the 1 line you think is wrong, post a <a href="http://stackoverflow.com/help/mcve">Minimal, Complete, and Verifiable example</a> and we can help you find the problem.</p>