application_controller.rb revision 2f29a1a9d4851c8a277cd0095322d5f51b28bf75
# CanCan Authorization
else
render \
content_type: 'text/plain',
end
end
# A foreign key constraint exception from the database
# shorten the message
flash: {error: "Whatever you tried to do - the server is unable to process your request because of a foreign key constraint. (#{message})" }
else
# anything else
end
end
end
end
new_params = {}
end
end
end
end
end
end
end
iri = "#{request.base_url}#{locid}"
end
end