class Lato::ApplicationController
def respond_to_with_not_found
def respond_to_with_not_found respond_to do |format| format.html { render plain: '', status: :not_found } format.json { render json: {}, status: :not_found } end end
def respond_to_with_not_found respond_to do |format| format.html { render plain: '', status: :not_found } format.json { render json: {}, status: :not_found } end end