Fixed Ruby style error
This commit is contained in:
parent
c2377a1195
commit
be390cff65
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class Oauth::ApplicationsController < Doorkeeper::ApplicationsController
|
||||||
flash[:notice] = I18n.t(:notice, scope: [:doorkeeper, :flash, :applications, :create])
|
flash[:notice] = I18n.t(:notice, scope: [:doorkeeper, :flash, :applications, :create])
|
||||||
redirect_to oauth_application_url(@application)
|
redirect_to oauth_application_url(@application)
|
||||||
else
|
else
|
||||||
redirect_to applications_profile_url, flash: {application: @application}
|
redirect_to applications_profile_url, flash: { application: @application }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue