summaryrefslogtreecommitdiff
path: root/core/controllers/admin_dashboard.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-20 01:42:18 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-20 01:42:18 +0000
commite4bace4c7414138d8d9b67f79a902f63694fc10c (patch)
tree9c45ba59a588723b6245d0936497f9338eaf70fc /core/controllers/admin_dashboard.php
parentb933d1a17096bfe61cf43ee866d7ae5eb557e3af (diff)
Collapse Admin_Dashboard_Controller down into a single theme call, since now
all dashboard blocks are stored in modules.
Diffstat (limited to 'core/controllers/admin_dashboard.php')
-rw-r--r--core/controllers/admin_dashboard.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/controllers/admin_dashboard.php b/core/controllers/admin_dashboard.php
index 7d752495..a29c2167 100644
--- a/core/controllers/admin_dashboard.php
+++ b/core/controllers/admin_dashboard.php
@@ -17,9 +17,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
-class Admin_Dashboard_Controller extends Controller {
+class Admin_Dashboard_Controller extends Admin_Controller {
public function index() {
- return new View("admin_dashboard.html");
+ return $this->theme()->dashboard_blocks();
}
}