Action not working in custom view
I have a custom page with action defined like this:
In blade for my custom view I have this line
This works as expected and clicking on a button starts file download.
Later, on same custom page I have a modal dialog with Book details this modal uses another custom view:
But here the action defined in my custom page doesn't work. Code recognizes the downloadBookAction and the button is displayed with all formatting, icon, etc. but when I click on the button, nothing happens - it never gets into the
->action()
method.
What am I doing wrong?0 Replies