Prem Sichanugrist
567ac65b42
Fix override API response bug in respond_with
...
Default responder was only using the given respond block when user
requested for HTML format, or JSON/XML format with valid resource. This
fix the responder so that it will use the given block regardless of the
validity of the resource. Note that in this case you'll have to check
for object's validity by yourself in the controller.
Fixes #4796
2012-02-03 14:26:34 -05:00
..
2006-06-01 15:42:08 +00:00
2011-12-16 10:45:59 +01:00
2011-02-07 16:44:27 -08:00
2011-12-17 12:00:57 +05:30
2009-09-06 21:42:05 -05:00
2011-08-11 17:49:31 -05:00
2012-01-19 19:45:22 +01:00
2012-01-17 18:07:08 -02:00
2010-09-29 12:42:51 -03:00
2012-01-17 18:07:08 -02:00
2011-12-15 12:57:33 -08:00
2011-06-22 18:00:46 +02:00
2011-04-06 18:13:16 -07:00
2011-12-16 10:45:59 +01:00
2011-10-08 18:38:02 -05:00
2011-07-31 23:36:21 +05:30
2012-01-03 00:57:03 +03:00
2012-01-10 04:42:46 +01:00
2010-08-14 04:12:33 -03:00
2011-09-24 17:19:42 -03:00
2011-12-06 21:15:27 -05:00
2010-04-08 18:11:26 -07:00
2011-11-30 09:53:09 +01:00
2012-02-03 14:26:34 -05:00
2010-08-17 03:32:11 +02:00
2011-12-08 23:09:09 +09:00
2010-10-03 14:40:06 -07:00
2011-12-05 11:19:48 +01:00
2011-04-13 13:23:17 +02:00
2011-11-25 19:29:39 +00:00
2011-04-13 13:23:17 +02:00
2012-01-17 18:07:08 -02:00
2010-09-05 13:44:36 +02:00
2011-09-10 11:01:22 -07:00
2010-10-01 18:05:59 -07:00
2011-09-12 16:50:48 -07:00
2012-01-23 17:21:29 -08:00
2010-11-22 15:57:03 -08:00
2010-09-27 11:19:24 -03:00
2011-06-28 06:58:28 +02:00
2011-12-16 10:45:59 +01:00
2011-10-03 12:12:07 +04:00
2011-11-30 18:57:12 +03:00
2011-12-14 22:43:42 +08:00
2011-10-13 21:41:30 -07:00
2012-01-17 18:07:08 -02:00
2011-06-11 03:11:05 -04:00