mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-04 22:16:08 +00:00
11 lines
354 B
Ruby
11 lines
354 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|
|
end
|