Sha256: 34a04e25aced1e576802c670a053d81696f44c344f2dc4ae5562464a00fb0b15
Contents?: true
Size: 521 Bytes
Versions: 3
Compression:
Stored size: 521 Bytes
Contents
class ApplicationResponder < ActionController::Responder include Responders::FlashResponder include Responders::HttpCacheResponder # Redirects resources to the collection path (index action) instead # of the resource path (show action) for POST/PUT/DELETE requests. include Responders::CollectionResponder # Allows to use a callable object as the redirect location with respond_with, # eg a route that requires persisted objects when the validation may fail. # include Responders::LocationResponder end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
web_admin-0.1.0 | lib/application_responder.rb |
web_admin-0.0.2 | lib/application_responder.rb |
web_admin-0.0.1 | lib/application_responder.rb |