Skip to content

Commit

Permalink
Did a little code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Eworm committed Jul 30, 2019
1 parent 5533bbb commit 9d3f709
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BigKahuna/BigKahunaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,8 @@ public function save(Request $request)
// Save a new json with only the above options
$this->storage->putJSON($request->menu, $this->saveJsonItems($pages));

event(new AddonSettingsSaved('site/storage/addons/BigKahuna/'.$request->menu.'.json', $pages));
// Emit event
event(new AddonSettingsSaved('site/storage/addons/BigKahuna/' . $request->menu . '.json', $pages));

return [
'success' => true,
Expand Down

0 comments on commit 9d3f709

Please sign in to comment.