Module: NsSettingsUi::ApplicationHelper
- Defined in:
- app/helpers/ns_settings_ui/application_helper.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
9 10 11 12 13 14 15 |
# File 'app/helpers/ns_settings_ui/application_helper.rb', line 9 def method_missing(method, *args, &block) if main_app.respond_to?(method) main_app.send(method, *args) else super end end |
Instance Method Details
#url_for(options) ⇒ Object
3 4 5 6 7 |
# File 'app/helpers/ns_settings_ui/application_helper.rb', line 3 def url_for() super() rescue ActionController::RoutingError, ActionController::UrlGenerationError main_app.url_for() end |