Skip to content
Snippets Groups Projects
Commit 6f4a3a02 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fix redirect()s

parent 59cb3640
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ class ApprovingController extends PluginController { ...@@ -65,7 +65,7 @@ class ApprovingController extends PluginController {
); );
PageLayout::postMessage(MessageBox::success(_("Review wurde gespeichert."))); PageLayout::postMessage(MessageBox::success(_("Review wurde gespeichert.")));
$this->redirect("pluginmarket/approving/overview"); $this->redirect('approving/overview');
} }
} }
\ No newline at end of file
...@@ -135,7 +135,7 @@ class MypluginsController extends PluginController { ...@@ -135,7 +135,7 @@ class MypluginsController extends PluginController {
} }
} }
PageLayout::postMessage(MessageBox::success(_("Plugin wurde gespeichert."))); PageLayout::postMessage(MessageBox::success(_("Plugin wurde gespeichert.")));
$this->redirect("pluginmarket/presenting/details/".$this->marketplugin->getId()); $this->redirect('presenting/details/' . $this->marketplugin->getId());
} }
public function save_release_action() { public function save_release_action() {
...@@ -158,7 +158,7 @@ class MypluginsController extends PluginController { ...@@ -158,7 +158,7 @@ class MypluginsController extends PluginController {
$this->release->store(); $this->release->store();
PageLayout::postMessage(MessageBox::success(_("Release wurde gespeichert."))); PageLayout::postMessage(MessageBox::success(_("Release wurde gespeichert.")));
$this->redirect("pluginmarket/presenting/details/".$this->release->plugin->getId()); $this->redirect('presenting/details/' . $this->release->plugin->getId());
} }
} }
\ No newline at end of file
...@@ -106,7 +106,7 @@ class PresentingController extends PluginController { ...@@ -106,7 +106,7 @@ class PresentingController extends PluginController {
if (Request::isPost() && Request::submitted("delete_plugin") && $this->marketplugin->isRootable()) { if (Request::isPost() && Request::submitted("delete_plugin") && $this->marketplugin->isRootable()) {
$this->marketplugin->delete(); $this->marketplugin->delete();
PageLayout::postMessage(MessageBox::success(_("Plugin wurde gelscht."))); PageLayout::postMessage(MessageBox::success(_("Plugin wurde gelscht.")));
$this->redirect("pluginmarket/presenting/overview"); $this->redirect('presenting/overview');
} }
} }
...@@ -161,7 +161,7 @@ class PresentingController extends PluginController { ...@@ -161,7 +161,7 @@ class PresentingController extends PluginController {
); );
PageLayout::postMessage(MessageBox::success(_("Review/Bewertung wurde gespeichert."))); PageLayout::postMessage(MessageBox::success(_("Review/Bewertung wurde gespeichert.")));
$this->redirect("pluginmarket/presenting/details/".$plugin_id); $this->redirect('presenting/details/' . $plugin_id);
} }
public function download_action($release) { public function download_action($release) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment