14 Mar
2014
14 Mar
'14
10:58 p.m.
On 3/14/2014 07:46, Lee Carmichael wrote:
hook before_error_init => sub {
This is a beautiful solution to the problem. Thank you! We didn't have a formal API before, but fixing this problem gave me sufficient reason to refactor the route handlers so that we do. David makes a good point: route handlers that return JSON should be distinguishable from those that return HTML. Putting them all under /api/* accomplishes that. Thank you both.