Skip to content

Commit

Permalink
Merge pull request #11344 from jolelievre/emails-translation
Browse files Browse the repository at this point in the history
Manage redirection after email translation
  • Loading branch information
Quetzacoalt91 committed Nov 12, 2018
2 parents 311b4ab + 10c3150 commit 925a82e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/admin/AdminTranslationsController.php
Expand Up @@ -1590,7 +1590,7 @@ protected function redirect($save_and_stay = false, $conf = false, $modify_trans
} elseif ($save_and_stay) {
Tools::redirectAdmin($url_base . '&lang=' . $this->lang_selected->iso_code . '&type=' . $this->type_selected . '&module=' . Tools::getValue('module') . '&theme=' . $this->theme_selected);
} else {
Tools::redirectAdmin($url_base);
Tools::redirectAdmin($url_base . '&action=settings');
}
}

Expand Down
Expand Up @@ -18,6 +18,7 @@ admin_international_translations_show_settings:
defaults:
_controller: PrestaShopBundle:Admin/Translations:showSettings
_legacy_controller: AdminTranslations
_legacy_link: AdminTranslations:settings

_admin_international_translations_modify:
path: /modify
Expand Down

0 comments on commit 925a82e

Please sign in to comment.