Module: Lena::Routing
- Included in:
- ActionDispatch::Routing::RoutesProxy
- Defined in:
- lib/lena/routing.rb
Overview
Extending the object that’s returned from rails routing helpers (for instance main_app or lena) that allow calling specific URL helper methods.
Instance Method Summary collapse
Instance Method Details
#configuration ⇒ Object
6 7 8 9 10 11 |
# File 'lib/lena/routing.rb', line 6 def configuration return { 'lena-destination' => Rails.env.development? ? "local" : "all", 'lena-remote-url' => self.report_path, } end |