diff options
author | James Lopez <james@jameslopez.es> | 2017-11-02 13:14:56 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-11-02 13:14:56 +0100 |
commit | 32ef7ed7d6d2540a3716f1b8e40f130008b2e5c2 (patch) | |
tree | 7f8d1002683db5ce10a09b13fe90a6d76d487d5c /app | |
parent | 37eb00ce5b684ff2bbbc83746a298a71e275c84d (diff) | |
download | gitlab-ce-32ef7ed7d6d2540a3716f1b8e40f130008b2e5c2.tar.gz |
fix specs
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/admin/applications_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/applications_controller.rb b/app/controllers/admin/applications_controller.rb index b47a9ee2444..cdac3b90a7f 100644 --- a/app/controllers/admin/applications_controller.rb +++ b/app/controllers/admin/applications_controller.rb @@ -19,7 +19,7 @@ class Admin::ApplicationsController < Admin::ApplicationController end def create - @application = Applications::CreateService.new(current_user, application_params.merge.execute(request)) + @application = Applications::CreateService.new(current_user, application_params).merge.execute(request) if @application.persisted? flash[:notice] = I18n.t(:notice, scope: [:doorkeeper, :flash, :applications, :create]) |