if @client_application.save
flash[:notice] = t'oauth_clients.create.flash'
redirect_to :action => "show", :id => @client_application.id
if @client_application.save
flash[:notice] = t'oauth_clients.create.flash'
redirect_to :action => "show", :id => @client_application.id
flash[:notice] = t'oauth_clients.update.flash'
redirect_to :action => "show", :id => @client_application.id
else
flash[:notice] = t'oauth_clients.update.flash'
redirect_to :action => "show", :id => @client_application.id
else