Sha256: 15c675361ee3052cc34a1d469e992dbad17f93667bc6adb660b4383404c9e847
Contents?: true
Size: 429 Bytes
Versions: 7
Compression:
Stored size: 429 Bytes
Contents
module Doorkeeper::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
Version data entries
7 entries across 7 versions & 1 rubygems