A bit more cleanup.
This commit is contained in:
		
							parent
							
								
									fef7bfcb4b
								
							
						
					
					
						commit
						78572bf50b
					
				| @ -11,7 +11,6 @@ class AdminController extends Controller { | ||||
|             'config' => $config, | ||||
|         ]; | ||||
| 
 | ||||
| 
 | ||||
|         $this->render("admin.php", $vars); | ||||
|     } | ||||
| 
 | ||||
|  | ||||
| @ -1,6 +1,4 @@ | ||||
| <?php | ||||
| //require_once __DIR__ . '/../Controller.php';
 | ||||
| 
 | ||||
| class HomeController extends Controller { | ||||
|     // GET handler
 | ||||
|     // renders the homepage view.
 | ||||
|  | ||||
| @ -3,7 +3,6 @@ | ||||
| class TickController extends Controller{ | ||||
|     // every tick is identified by its timestamp
 | ||||
|     public function index(string $year, string $month, string $day, string $hour, string $minute, string $second){ | ||||
| 
 | ||||
|         $model = new Tick(); | ||||
|         $tick = $model->get($year, $month, $day, $hour, $minute, $second);        | ||||
|         $this->render('tick.php', $tick); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user