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- On Friday, January 10, 2014 3:11:02 PM UTC-5, Jeffrey Gelens wrote: > > Sometimes I want a certain controller action only to be available using > the route I define in priv/my_application.routes and not using the > default controller pattern matching. Is this currently possible? > > Thanks. > > Jeffrey > -- You received this message because you are subscribed to the Google Groups "ChicagoBoss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at http://groups.google.com/group/chicagoboss. To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/f55c595c-9907-458e-8f4c-ad42ee653eca%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
