diff options
author | James Lopez <james@jameslopez.es> | 2017-11-02 16:33:56 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-11-02 16:33:56 +0300 |
commit | 9cb9a86f37e89ad181a6a4d024240752c50606c9 (patch) | |
tree | 9a73f991fc036785bb6d4fc2d22dbcfd6a26a63c /app | |
parent | 32ef7ed7d6d2540a3716f1b8e40f130008b2e5c2 (diff) |
fix typo
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 cdac3b90a7f..5be23c76a95 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).execute(request) if @application.persisted? flash[:notice] = I18n.t(:notice, scope: [:doorkeeper, :flash, :applications, :create]) |