module Doorkeeper::DashboardHelper

def doorkeeper_submit_path(application)

def doorkeeper_submit_path(application)
  application.persisted? ? oauth_application_path(application) : oauth_applications_path
end