Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixing repond_with working directly on the options hash | BlueHotDog | 2013-10-09 | 1 | -0/+0 |
| | | | | | | | | This fixes an issue where the respond_with worked directly with the given options hash, so that if a user relied on it after calling respond_with, the hash wouldn't be the same. Fixes #12029 | ||||
* | Make sure respond_with with :js tries to render a template in all cases | José Valim | 2011-06-30 | 1 | -0/+1 |
| | |||||
* | removes the RJS template handler | Xavier Noria | 2011-04-13 | 1 | -1/+0 |
| | |||||
* | pass respond_with options to controller render when using a template for api ↵ | Josh Kalderimis | 2011-03-31 | 1 | -0/+1 |
| | | | | | | navigation Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | only try to display an api template in responders if the request is a get or ↵ | Josh Kalderimis | 2011-03-31 | 1 | -0/+1 |
| | | | | | | there are no errors Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Raise an error if respond_with is invoked and no format is declared. | José Valim | 2010-01-10 | 4 | -3/+0 |
| | |||||
* | Add nagivational behavior to respond_with. | José Valim | 2009-08-07 | 4 | -1/+3 |
| | |||||
* | Added respond_with. | José Valim | 2009-07-29 | 1 | -0/+1 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Added tests for respond_to class method. | José Valim | 2009-07-29 | 4 | -0/+4 |
Signed-off-by: Yehuda Katz <wycats@gmail.com> |