Fixed Ruby style error

This commit is contained in:
Phil Hughes 2016-03-01 15:08:17 +00:00
parent c2377a1195
commit be390cff65

View file

@ -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