Class: Dossier::Formatter::UrlFormatter
- Inherits:
-
Object
- Object
- Dossier::Formatter::UrlFormatter
- Includes:
- ActionView::Helpers::UrlHelper
- Defined in:
- lib/dossier/formatter.rb
Instance Method Summary collapse
- #_routes ⇒ Object
-
#controller ⇒ Object
No controller in current context, must be specified when generating routes.
- #url_helpers ⇒ Object
Instance Method Details
#_routes ⇒ Object
20 21 22 |
# File 'lib/dossier/formatter.rb', line 20 def _routes Rails.application.routes end |
#controller ⇒ Object
No controller in current context, must be specified when generating routes
25 26 |
# File 'lib/dossier/formatter.rb', line 25 def controller end |
#url_helpers ⇒ Object
28 29 30 |
# File 'lib/dossier/formatter.rb', line 28 def url_helpers _routes.url_helpers end |