Ajax button in admin So I figured I'd create a configuration for my module. I created a normal form with some fields to let the users configure the module with variables. I also added a button which would do an ajax-call to a service. Problem is, this button is within the form, meaning it submits the form aswell. 

$form['products']['update'] = array(
            '#type' =&gt; 'button',
            '#ajax' =&gt; array(
                'path' =&gt; '/products/update',
                'event' =&gt; 'click'
                ),
            '#value' =&gt; t('Update Products')
);


I just want the button to actually call this service (/products/update) and not act like a submit button. This worked in beta3 but is not an annoying feature in beta4, preventing the actual service call. How do I fix this?
ajax path is not supported anymore I think. It would need to be a route.

Why do you need a path? The common way to do this is to have a #submit callback on that form element, then just that will be called.