Ver código fonte

Minor - adding @todos

Julio Montoya 11 anos atrás
pai
commit
474d971252
2 arquivos alterados com 4 adições e 0 exclusões
  1. 1 0
      main/inc/routes.php
  2. 3 0
      main/inc/services.php

+ 1 - 0
main/inc/routes.php

@@ -664,6 +664,7 @@ $app->match('/ajax', 'model_ajax.controller:indexAction', 'GET')
 
 // Roles
 // @todo improve route creation. Use mount() to write less
+/* @todo use Flint to manage controllers */
 
 if ($alreadyInstalled) {
     // Takes a some time to load @todo improve this calls

+ 3 - 0
main/inc/services.php

@@ -497,6 +497,9 @@ class ChamiloServiceProvider implements ServiceProviderInterface
 $app->register(new ChamiloServiceProvider(), array());
 
 // Controller as services definitions.
+
+/* @todo use Flint to manage controllers, routes */
+
 $app['pages.controller'] = $app->share(
     function () use ($app) {
         return new PagesController($app['pages.repository']);