The API route doesn't render a template. It just outputs the JSON that is passed into render.
You can test this by prepending /api on any route, you'll see JSON output.
The purpose of this is for the AJAX loading of the next page.
@baris you should detect whenever anything is going to
/admin/... and automatically open it in a new tab.
@julian one problem. when I click on the notification, it's opening the same link in current tab and in a new tab.
@pichalite looking at the code, that shouldn't be happening. Hmmm...
@baris doesn't seem to be fixed. Still same issue.
Is the relevant code in
Let me know if that works.
Can you try again on latest.
@baris works now, thanks.