Commit 82c758c0 authored by James Lopez's avatar James Lopez

fix spinach failure

parent eeacfbd5
...@@ -20,6 +20,8 @@ class Oauth::ApplicationsController < Doorkeeper::ApplicationsController ...@@ -20,6 +20,8 @@ class Oauth::ApplicationsController < Doorkeeper::ApplicationsController
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])
redirect_to oauth_application_url(@application)
else else
set_index_vars set_index_vars
render :index render :index
......
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