added tests to develop branch.

This commit is contained in:
Taylor Otwell
2012-03-27 15:41:30 -05:00
parent f4258f7759
commit 15fe1d5258
80 changed files with 6510 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<?php
return array(
'bundle' => 'dashboard',
);

View File

@@ -0,0 +1,10 @@
<?php
class Dashboard_Panel_Controller extends Controller {
public function action_index()
{
return 'Dashboard_Panel_Index';
}
}

View File

@@ -0,0 +1,7 @@
<?php namespace Dashboard;
/**
* This class is used for testing the auto-loading of classes
* that are mapped by namesapce.
*/
class Repository {}

View File

@@ -0,0 +1,8 @@
<?php
Route::get('dashboard', array('as' => 'dashboard', function()
{
//
}));
Route::controller('dashboard::panel');