Commit 32ef7ed7 authored by James Lopez's avatar James Lopez

fix specs

parent 37eb00ce
...@@ -19,7 +19,7 @@ class Admin::ApplicationsController < Admin::ApplicationController ...@@ -19,7 +19,7 @@ class Admin::ApplicationsController < Admin::ApplicationController
end end
def create 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? if @application.persisted?
flash[:notice] = I18n.t(:notice, scope: [:doorkeeper, :flash, :applications, :create]) flash[:notice] = I18n.t(:notice, scope: [:doorkeeper, :flash, :applications, :create])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment