Sha256: 9b28d25c56fc27dc2b6cd6b2bda9e38108361f494d0a0045acfa8586b7f40aec
Contents?: true
Size: 509 Bytes
Versions: 17
Compression:
Stored size: 509 Bytes
Contents
# frozen_string_literal: true module Doorkeeper module DashboardHelper def doorkeeper_errors_for(object, method) return if object.errors[method].blank? output = object.errors[method].map do |msg| content_tag(:span, class: "invalid-feedback") do msg.capitalize end end safe_join(output) end def doorkeeper_submit_path(application) application.persisted? ? oauth_application_path(application) : oauth_applications_path end end end
Version data entries
17 entries across 17 versions & 1 rubygems