comanage-dev - [comanage-dev] r670 - registry/trunk/app/Controller
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r670 - registry/trunk/app/Controller
- Date: Sun, 2 Feb 2014 22:30:34 -0500
Author: benno
Date: 2014-02-02 22:30:34 -0500 (Sun, 02 Feb 2014)
New Revision: 670
Modified:
registry/trunk/app/Controller/AppController.php
Log:
Additional commit for CO-792
Modified: registry/trunk/app/Controller/AppController.php
===================================================================
--- registry/trunk/app/Controller/AppController.php 2014-02-03 01:40:45
UTC (rev 669)
+++ registry/trunk/app/Controller/AppController.php 2014-02-03 03:30:34
UTC (rev 670)
@@ -292,6 +292,12 @@
// As a default, we'll see if we can determine the CO in a generic
manner.
// Where this doesn't work, individual Controllers can override this
function.
+ // For now, skip pages controller so the main page (/) can render. At
some point,
+ // we may need to revise this check.
+ if($this->request->params['controller'] == 'pages') {
+ return null;
+ }
+
// Get a pointer to our model
$req = $this->modelClass;
$model = $this->$req;
- [comanage-dev] r670 - registry/trunk/app/Controller, svnlog, 02/02/2014
Archive powered by MHonArc 2.6.16.