]> git.openstreetmap.org Git - rails.git/commitdiff
Rationalise API error classes by getting of the render_opts method which
authorTom Hughes <tom@compton.nu>
Thu, 21 May 2009 19:28:39 +0000 (19:28 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 21 May 2009 19:28:39 +0000 (19:28 +0000)
was never used except to extract the data it contained. Instead each class
now has a status method that returns the HTTP status code to use and a
to_s method to return a textual description of the error.


No differences found