aleksdish
12/03/2021, 3:45 PMpboivin
12/03/2021, 4:10 PMaleksdish
12/03/2021, 4:22 PMkalle
12/06/2021, 11:19 AMifox
12/06/2021, 11:41 AMkalle
12/06/2021, 11:43 AMkalle
12/06/2021, 1:33 PMifox
12/06/2021, 2:08 PMkalle
12/06/2021, 2:09 PMifox
12/06/2021, 2:12 PMJonathanF
12/06/2021, 6:24 PMpboivin
12/06/2021, 7:02 PMJonathanF
12/06/2021, 7:12 PMpboivin
12/06/2021, 8:00 PMmedias table, and have the uuid column correspond to existing image paths inside the bucket.pboivin
12/06/2021, 8:04 PMpboivin
12/06/2021, 8:12 PMLocal image service, not sure about Imgix or Glide...JonathanF
12/06/2021, 8:32 PMaleksdish
12/07/2021, 9:08 AMkalle
12/07/2021, 10:36 AMaleksdish
12/07/2021, 11:31 AMaleksdish
12/07/2021, 11:31 AM// Save JSON file when menu is created
public function afterSave($object, $fields) {
// Calls that specific method from the specified controller
app('App\Http\Controllers\MenuController')->saveFile();
parent::afterSave($object, $fields);
}aleksdish
12/07/2021, 11:44 AMaleksdish
12/07/2021, 11:55 AMpublic function afterUpdateBasic($object, $fields){
// Calls that specific method from the specified controller
app('App\Http\Controllers\MenuController')->saveFile();
parent::afterUpdateBasic($object, $fields);
}
For some strange reason I have to click update button two times for it to work.kalle
12/07/2021, 12:30 PM$object->wasRecentlyCreated property to check if its update or create action.aleksdish
12/07/2021, 12:39 PMkalle
12/07/2021, 12:41 PMaleksdish
12/07/2021, 1:15 PMaleksdish
12/07/2021, 1:33 PMkalle
12/07/2021, 1:36 PMaleksdish
12/07/2021, 1:37 PM