Skip to content

Commit

Permalink
reset formbuilder_ajax route
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat committed Feb 2, 2017
1 parent d6c6ad2 commit 499ea8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Formbuilder/Lib/Form/Frontend/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function addDefaultValuesToForm( $form, $attributes = [] )
$language = (string)\Zend_Registry::get('Zend_Locale');
}

$form->setAttrib('data-ajax-url', rtrim($urlHelper->url(['lang' => $language, 'action' => ''], 'formbuilder_ajax'), '/') );
$form->setAttrib('data-ajax-url', rtrim($urlHelper->url(['lang' => $language, 'action' => ''], 'formbuilder_ajax', TRUE), '/') );
$setFormClasses[] = 'ajax-form';
}

Expand Down

0 comments on commit 499ea8a

Please sign in to comment.