/** * Show the form for creating a new resource. * * @return Response */ public function create() { $model = new User(['is_admin' => false, 'is_employee' => false, 'is_author' => false, 'is_reviewer' => false, 'is_approver' => false, 'is_publisher' => false]); $roles = Role::lists('name', 'id'); $model_roles = []; $departments = Department::lists('name', 'id'); $model_departments = []; $users = User::ListUsers(); return view($this->create_view, compact(['model', 'roles', 'model_roles', 'departments', 'model_departments', 'users'])); }