Skip to content

Commit

Permalink
Merge pull request #5 from iDutch/basic
Browse files Browse the repository at this point in the history
Basic
  • Loading branch information
Richard Hoogstraaten authored Oct 17, 2016
2 parents eddb994 + ee992cf commit e6eb245
Show file tree
Hide file tree
Showing 2,203 changed files with 256 additions and 54,246 deletions.
42 changes: 0 additions & 42 deletions application/controllers/ACLTrait.php

This file was deleted.

65 changes: 0 additions & 65 deletions application/controllers/ArticleController.php

This file was deleted.

61 changes: 0 additions & 61 deletions application/controllers/CategoryController.php

This file was deleted.

73 changes: 0 additions & 73 deletions application/controllers/DashboardController.php

This file was deleted.

22 changes: 22 additions & 0 deletions application/controllers/DefaultController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

use RHMVC\AbstractController;
use RHMVC\View;

class DefaultController extends AbstractController
{

public function defaultAction()
{
/* @var $DefaultModel DefaultModel */
$DefaultModel = $this->loadModel('DefaultModel');

$view = new View('default/index.phtml');
$view->setVars([
'items' => $DefaultModel->getSampleData()
]);

return $view->parse();
}

}
28 changes: 0 additions & 28 deletions application/controllers/ErrorController.php

This file was deleted.

77 changes: 0 additions & 77 deletions application/controllers/GroupController.php

This file was deleted.

Loading

0 comments on commit e6eb245

Please sign in to comment.