diff options
author | Phil Hughes <me@iamphill.com> | 2016-03-01 11:32:08 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-03-01 13:17:02 +0000 |
commit | 85facbd55f56400cd856153db86661ab701b6a5c (patch) | |
tree | 5ed5ffc35a26f2c1dfaa0d22eb6059e15951a166 | |
parent | 1b9f321e0ab68fe40b80193f2e1e70868c85e756 (diff) | |
download | gitlab-ce-profile-settings.tar.gz |
Fixed failing testsprofile-settings
-rw-r--r-- | app/controllers/oauth/applications_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/profiles/keys_controller.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/oauth/applications_controller.rb b/app/controllers/oauth/applications_controller.rb index a7f03860fdf..a4367b5081a 100644 --- a/app/controllers/oauth/applications_controller.rb +++ b/app/controllers/oauth/applications_controller.rb @@ -24,7 +24,7 @@ class Oauth::ApplicationsController < Doorkeeper::ApplicationsController flash[:notice] = I18n.t(:notice, scope: [:doorkeeper, :flash, :applications, :create]) redirect_to oauth_application_url(@application) else - redirect_to applications_profile_path, flash: {application: @application} + redirect_to applications_profile_path, flash: { application: @application } end end diff --git a/app/controllers/profiles/keys_controller.rb b/app/controllers/profiles/keys_controller.rb index 6815cb69b68..25430e6be2f 100644 --- a/app/controllers/profiles/keys_controller.rb +++ b/app/controllers/profiles/keys_controller.rb @@ -20,7 +20,7 @@ class Profiles::KeysController < Profiles::ApplicationController if @key.save redirect_to profile_key_path(@key) else - redirect_to profile_keys_path, flash: {key: @key} + redirect_to profile_keys_path, flash: { key: @key } end end |