/** * Parses supported {placeholders} in redirect URL before redirecting * * @param SproutForms_EntryModel $entry */ public function doSmartRedirect(SproutForms_EntryModel $entry) { $vars = array_merge(array('id' => 0, 'siteUrl' => craft()->getSiteUrl()), $entry->getContent()->getAttributes(), $entry->getAttributes()); $this->redirectToPostedUrl($vars); }