public function getIndex() { $modules = Module::latest()->get(); $this->layout->title = 'All Modules'; $this->layout->content = View::make($this->link_type . '.' . $this->current_theme . '.modules.index')->with('modules', $modules); }