Minor display fixes, link to old site

This commit is contained in:
Deon George
2018-07-16 15:06:43 +10:00
parent 64b6c09b8f
commit 1821810570
21 changed files with 375 additions and 203 deletions

View File

@@ -27,4 +27,18 @@ class UserHomeController extends Controller
abort(500,'Unknown role: ',Auth::user()->role());
}
}
/**
* Helper to redirect to the old site, when functions are not available in this one.
*
* @param $type
* @param $action
* @param $id
* @return void
* @deprecated @todo Remove once all functions added
*/
public function oldsite($type,$action,$id)
{
abort(307,sprintf('http://www.graytech.net.au/u/%s/%s/%s',$type,$action,$id));
}
}