Skip to Content.
Sympa Menu

comanage-dev - [comanage-dev] r676 - registry/trunk/app/Controller

Subject: COmanage Developers List

List archive

[comanage-dev] r676 - registry/trunk/app/Controller


Chronological Thread 
  • From:
  • To:
  • Subject: [comanage-dev] r676 - registry/trunk/app/Controller
  • Date: Mon, 3 Feb 2014 18:41:24 -0500

Author: benno
Date: 2014-02-03 18:41:24 -0500 (Mon, 03 Feb 2014)
New Revision: 676

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 04:29:59
UTC (rev 675)
+++ registry/trunk/app/Controller/AppController.php 2014-02-03 23:41:24
UTC (rev 676)
@@ -292,9 +292,8 @@
// 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') {
+ if(!$this->requires_co) {
+ // Controllers that don't require a CO can't imply one.
return null;
}




  • [comanage-dev] r676 - registry/trunk/app/Controller, svnlog, 02/03/2014

Archive powered by MHonArc 2.6.16.

Top of Page