class IndexController extends BaseController {
protected $layout = 'admin.layouts.default';
public function index()
{
$this->layout->$this->layoutcontent = View::make('admin.index');
}
}
However, you are returning the following error:
Attempt to assign non-object property