Allows the host application to define @respond_with field which is then used in the respond_with method in each of the controllers. This gives the host application more control over the behaviour of the respond with method. Allowing things like setting the location an action will redirect to on successful completion.
Allows the host application to define @respond_with field which is then used in the respond_with method in each of the controllers. This gives the host application more control over the behaviour of the respond with method. Allowing things like setting the location an action will redirect to on successful completion.