Sha256: 1fb30aa8e12d22ae9949c17c3c6a38d5e78e677b9928a99863838b8a5456e0a2
Contents?: true
Size: 467 Bytes
Versions: 6
Compression:
Stored size: 467 Bytes
Contents
module Doorkeeper module DashboardHelper def doorkeeper_errors_for(object, method) if object.errors[method].present? object.errors[method].map do |msg| content_tag(:span, class: 'help-block') do msg.capitalize end end.join.html_safe end end def doorkeeper_submit_path(application) application.persisted? ? oauth_application_path(application) : oauth_applications_path end end end
Version data entries
6 entries across 6 versions & 1 rubygems