diff options
author | Zach Copley <zach@status.net> | 2010-01-13 07:33:51 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-01-24 16:36:04 -0800 |
commit | e101a6df6ba1cbec4664bb81fc81655e5db18b0f (patch) | |
tree | 1d807b1fd443b2e0e08868cfb4cf11ad57f78906 /actions/editapplication.php | |
parent | 693b16174ad4142d1a543f78878c84c552ce6d74 (diff) |
Rework application registration workflow to be more private
Diffstat (limited to 'actions/editapplication.php')
-rw-r--r-- | actions/editapplication.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/actions/editapplication.php b/actions/editapplication.php index a0ed3117a..a6db87c61 100644 --- a/actions/editapplication.php +++ b/actions/editapplication.php @@ -125,10 +125,7 @@ class EditApplicationAction extends OwnerDesignAction if ($this->arg('cancel')) { common_redirect(common_local_url('showapplication', - array( - 'nickname' => $cur->nickname, - 'id' => $this->app->id) - ), 303); + array('id' => $this->app->id)), 303); } elseif ($this->arg('save')) { $this->trySave(); } else { @@ -253,8 +250,7 @@ class EditApplicationAction extends OwnerDesignAction $this->app->uploadLogo(); - common_redirect(common_local_url('apps', - array('nickname' => $cur->nickname)), 303); + common_redirect(common_local_url('oauthappssettings'), 303); } } |