public function index() { $report_generators = ReportGenerator::all(); $this->layout->title = trans('cms.report_generators'); $this->layout->content = View::make('report_generators::index')->with('report_generators', $report_generators); }