Added a test edit page; fixed some styles
This commit is contained in:
+7
-1
@@ -36,7 +36,13 @@ $app->group('/test', function(RouteCollectorProxy $group) {
|
||||
$group->get('', '\\BitGoblin\\Colossus\\Controllers\\TestController:getList')->setName('test.list');
|
||||
$group->get('/add', '\\BitGoblin\\Colossus\\Controllers\\TestController:getAdd')->setName('test.add');
|
||||
$group->post('/add', '\\BitGoblin\\Colossus\\Controllers\\TestController:postAdd');
|
||||
$group->get('/{test_id}', '\\BitGoblin\\Colossus\\Controllers\\TestController:getView')->setName('test.view');
|
||||
|
||||
$group->group('/{test_id}', function(RouteCollectorProxy $test) {
|
||||
$test->get('', '\\BitGoblin\\Colossus\\Controllers\\TestController:getView')->setName('test.view');
|
||||
|
||||
$test->get('/edit', '\\BitGoblin\\Colossus\\Controllers\\TestController:getEdit')->setName('test.edit');
|
||||
$test->post('/edit', '\\BitGoblin\\Colossus\\Controllers\\TestController:postEdit');
|
||||
});
|
||||
});
|
||||
|
||||
$app->group('/reports', function(RouteCollectorProxy $group) {
|
||||
|
||||
Reference in New Issue
Block a user