Revision: 402
Author: coretxt
Date: Wed May 19 10:10:41 2010
Log: adding URI to response defaults
http://code.google.com/p/floe/source/detail?r=402
Modified:
/trunk/src/server/controllers/IdentityController.class.php
=======================================
--- /trunk/src/server/controllers/IdentityController.class.php Thu Oct 29
10:09:35 2009
+++ /trunk/src/server/controllers/IdentityController.class.php Wed May 19
10:10:41 2010
@@ -48,7 +48,7 @@
/**
* Imports a model file based on controller identity.
*
- * Should this be phased out in favor of autoload?
+ * @todo should this be phased out in favor of autoload?
*/
private function importModel() {
$modelPath = MOD_DIR . '/' . $this->identity() . '.model.php';
@@ -61,6 +61,7 @@
*/
private function assignDefaults() {
$this->response->assign('controller', $this->identity());
+ $this->response->assign('uri', $this->request->uri);
}
}
--
You received this message because you are subscribed to the Google Groups "Floe Commits" group.
To post to this group, send email to
floe-c...@googlegroups.com.
To unsubscribe from this group, send email to
floe-commits...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/floe-commits?hl=en.