Skip to content

Commit

Permalink
Update Class/MyController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
josuesantos93 committed Feb 15, 2013
1 parent 8e6b2af commit 57fa928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Class/MyController.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ public function send()

$layout = new \Micro\View($this->template);

if(config()->debug_mode)
$this->debug = new \Micro\View('System/Debug');
if(config()->debug_mode)
$this->debug = new \Micro\View('System/Debug');

$layout->set((array) $this);
print $layout;
Expand Down

0 comments on commit 57fa928

Please sign in to comment.