module Croods::Controller::NotFound

Protected Instance Methods

not_found(exception) click to toggle source
# File lib/croods/controller/not_found.rb, line 14
def not_found(exception)
  render status: :not_found, json: {
    id: 'not_found',
    message: exception.message
  }
end