Skip to content

Commit 4cfd01a

Browse files
authored
Update src/app/Http/Controllers/Operations/CreateOperation.php
1 parent 6975675 commit 4cfd01a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/Http/Controllers/Operations/CreateOperation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function create()
6060
$this->data['saveAction'] = $this->crud->getSaveAction();
6161
$this->data['title'] = $this->crud->getTitle() ?? trans('backpack::crud.add').' '.$this->crud->entity_name;
6262

63-
// return the ajax response for modal forms, or the normal view for normal requests
63+
// load the view from /resources/views/vendor/backpack/crud/ if it exists, otherwise load the one in the package
6464
return view($this->crud->getCreateView(), $this->data);
6565
}
6666

0 commit comments

Comments
 (0)