share('locales', config('translatable.locales')); view()->composer(['page._form'], function ($view) { $view->with('categories', [ '' => '', ]); }); view()->composer(['user._form'], function ($view) { $view->with('roles', \App\Role::lists('display_name', 'id')); }); } /** * Register any application services. * * @return void */ public function register() { // } }