Model and template cleanup

This commit is contained in:
Dane Everitt 2017-03-03 23:37:41 -05:00
parent d38f89a468
commit e6d3663b3b
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
5 changed files with 35 additions and 44 deletions

View file

@ -219,17 +219,17 @@ class AdminRoutes
// View All Nodes
$router->get('/', [
'as' => 'admin.nodes',
'uses' => 'Admin\NodesController@getIndex',
'uses' => 'Admin\NodesController@index',
]);
// Add New Node
$router->get('/new', [
'as' => 'admin.nodes.new',
'uses' => 'Admin\NodesController@getNew',
'uses' => 'Admin\NodesController@new',
]);
$router->post('/new', [
'uses' => 'Admin\NodesController@postNew',
'uses' => 'Admin\NodesController@create',
]);
$router->get('/view/{id}', [