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