Changed to proper layout setter.

This commit is contained in:
Parziphal 2014-02-20 15:44:20 -05:00
parent 1a46f1a56a
commit 5a5973ff09
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ class AdminController extends ApplicationController
{ {
protected function init() protected function init()
{ {
$this->layout('admin'); $this->setLayout('admin');
} }
protected function filters() protected function filters()

View File

@ -3,7 +3,7 @@ class BannedController extends ApplicationController
{ {
public function index() public function index()
{ {
$this->layout('bare'); $this->setLayout('bare');
$this->ban = $this->get_ip_ban(); $this->ban = $this->get_ip_ban();
if (!$this->ban) { if (!$this->ban) {