class Dossier::Formatter::UrlFormatter
TODO figure out how to handle this better reports rendered with a system layout use this link_to instead of the correct one delegate :url_for, :link_to, :url_helpers, to: :url_formatter
Public Instance Methods
_routes()
click to toggle source
# File lib/dossier/formatter.rb, line 40 def _routes Rails.application.routes end
controller()
click to toggle source
No controller in current context, must be specified when generating routes
# File lib/dossier/formatter.rb, line 45 def controller end
url_helpers()
click to toggle source
# File lib/dossier/formatter.rb, line 48 def url_helpers _routes.url_helpers end