Commit 0e80481e by liyijie

update simple_controller responder without responder cache

parent ee347456
class SimpleController::Responder < ActionController::Responder
include Responders::FlashResponder
include Responders::HttpCacheResponder
# include Responders::HttpCacheResponder
def json_resource_errors
{ errors: resource.errors, message: resource.errors.map { |error| error.message}.join('\n') }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment