public function getIndex()
{
$this->layout->title = trans('cms.home');
if ($this->link_type == 'admin') {
$position = MenuPosition::where('alias', '=', 'admin-main-menu')->with('menus')->first();
$menu_items = $position->menus()->published()->where('parent', '=', 0)->orderBy('order', 'asc')->get();
$this->layout->content = View::make($this->link_type . '.' . $this->current_theme . '.index')->with('menu_items', $menu_items)->with('title', trans('cms.home'));
} else {
$this->layout->content = View::make($this->link_type . '.' . $this->current_theme . '.index')->with('title', trans('cms.home'));
}
}