application_controller.rb revision 466897c027934f3e919b55600916b23c953cf3d9
# 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
end
end
end
end
end
end
end
iri = "#{request.base_url}#{locid}"
end
end