This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The default Responder returns 200, {} for a PUT success. | |
# Not really happy with that. A 204, nil would be better. | |
# However, for most resources the result of a PUT is that something changes (updated_at). | |
# A 200 with the updated resource makes sense in that case. | |
# | |
# Not really happy with this first cut. | |
# | |
class ResourceResponder < ActionController::Responder | |
protected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http_path = "/" | |
css_dir = "public/stylesheets" | |
sass_dir = "sass" | |
images_dir = "public/images" | |
http_images_dir = "images" | |
javascripts_dir = "public/javascripts" | |
fonts_dir = "public/fonts" | |
http_fonts_dir = "fonts" |