Module: Sso::ApplicationHelper
- Defined in:
- app/helpers/sso/application_helper.rb
Instance Method Summary collapse
-
#method_missing(method, *args, &block) ⇒ Object
Can search for named routes directly in the main app, omitting the “main_app.” prefix.
- #respond_to?(method) ⇒ Boolean
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
Can search for named routes directly in the main app, omitting the “main_app.” prefix
5 6 7 8 9 10 11 |
# File 'app/helpers/sso/application_helper.rb', line 5 def method_missing method, *args, &block if main_app_url_helper?(method) main_app.send(method, *args) else super end end |
Instance Method Details
#respond_to?(method) ⇒ Boolean
13 14 15 |
# File 'app/helpers/sso/application_helper.rb', line 13 def respond_to?(method) main_app_url_helper?(method) or super end |