/** * Show the form for creating a new resource. * * @return Response */ public function create() { $lang = Session::get('locale'); $locales = $this->menulink->getLocales(); $menus = $this->menu->all()->lists('name', 'id'); $menus = array('' => trans('kotoba::general.command.select_a') . ' ' . Lang::choice('kotoba::cms.menu', 1)) + $menus; return Theme::View('general::menulinks.create', compact('lang', 'locales', 'menus')); }