aeolus-incubator / tim

Web application for managing virtual images to be deployed in the cloud
www.aeolusproject.org
MIT License
3 stars 6 forks source link

Add respond_options global var to controllers respond_with method #66

Closed mtaylor closed 11 years ago

mtaylor commented 11 years ago

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.