I have a problem with InlineFormAction.
I add InlineFormAction field into getCMSFields function:
$fields->addFieldsToTab( 'Root.Content.Leads', $filter_action);
$filter_action = new InlineFormAction('doLeadsFilter','submit');
When I press on it into admin panel it goes to url: http://<my_base_url>/admin-custom/doLeadsFilter?ID=11&ajax=1 and return 404 error page, and show Server Error in the bottom of the page.
What problem it can be?
I am also don't sure where should I put doLeadsFilter function?