Commits

Stepan Anchugov  committed 04b61b7

[add] sample bundle routes

  • Participants
  • Parent commits 2cdb340

Comments (0)

Files changed (2)

File src/Kix/MovieDb/MovieDb.php

 <?php
+namespace Kix\MovieDb;
+
+use Kix\Framework\Package;
+
 /**
  * @author Stepan Anchugov <kixxx1@gmail.com>
  */
-class MovieDb
+class MovieDb extends Package
 {
 
+    public function getName()
+    {
+        return 'movie_db';
+    }
+
 }

File src/Kix/MovieDb/Resources/config/routes.php

 <?php
 /**
  * @author Stepan Anchugov <kixxx1@gmail.com>
- */
+ */
+return array(
+    '/' => 'DefaultController::indexAction',
+);