Jeffrey, I'm not sure about your use case, but if you're only doing it in specific instances, then I suppose it's entirely possible to check the URL either within the action or within a before filter and return not_found if the URL follows the default pattern. You can use
Req:path() to get the URL of the current request without any query args.
Hope this helps,
-Lucas-