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>
Merge pull request #95 from the0rem/master

Fix issues with changing route urls in config.