Yeah, i just tried a couple of things and ->openUrlInNewTab() was one of them.
The action works fine, if it's a standalone action. However, i have a process of generating multiple pdf's from a certain Models relation. When the PDF's are generated they are zipped and stored. What i am trying to accomplish is a database notification with an option for the user to download the zip. Unfortunately, notification actions don't accept the ->action() parameter so it needs to be ->url().
everything works fine, the PDF's get generated, they are zipped, the zipped file is stored and my user receives a Database notification with a download link. However, when they click that link, it opens the zip file in the browser window with gibberish: �b��fNx�,�6���uP��74�Ӥ�w
I'm guessing it has something to do with encoding, but don't know where. @tykus