File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,7 @@ public function index() {
3232 * @return \Cake\Http\Response|null|void
3333 */
3434 public function view ($ id = null ) {
35- $ geocodedAddress = $ this ->GeocodedAddresses ->get ($ id , [
36- 'contain ' => [],
37- ]);
35+ $ geocodedAddress = $ this ->GeocodedAddresses ->get ($ id );
3836
3937 $ this ->set ('geocodedAddress ' , $ geocodedAddress );
4038 }
@@ -73,9 +71,7 @@ public function clearAll() {
7371 * @return \Cake\Http\Response|null|void Redirects on successful edit, renders view otherwise.
7472 */
7573 public function edit ($ id = null ) {
76- $ geocodedAddress = $ this ->GeocodedAddresses ->get ($ id , [
77- 'contain ' => [],
78- ]);
74+ $ geocodedAddress = $ this ->GeocodedAddresses ->get ($ id );
7975 if ($ this ->request ->is (['patch ' , 'post ' , 'put ' ])) {
8076 $ geocodedAddress = $ this ->GeocodedAddresses ->patchEntity ($ geocodedAddress , $ this ->request ->getData ());
8177 if ($ this ->GeocodedAddresses ->save ($ geocodedAddress )) {
You can’t perform that action at this time.
0 commit comments