diff options
Diffstat (limited to 'controllers')
-rw-r--r-- | controllers/ContentController.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/controllers/ContentController.php b/controllers/ContentController.php index 0e34022..f024b97 100644 --- a/controllers/ContentController.php +++ b/controllers/ContentController.php @@ -7,10 +7,7 @@ class ContentController extends \lithium\action\Controller { public $publicActions = array('anime'); public function index($type) //type has to equal something - { - - - + { switch($type) { case "anime": $content = Anime::all(compact('limit','page','order')); $total = Anime::count(); |