Fixed url to use route() function instead of static url

Signed-off-by: ssmekel <shaun.smekel@theorem.net.au>
Updated resource routes to keep a consistent route name

Signed-off-by: ssmekel <shaun.smekel@theorem.net.au>