Module: Kuhsaft::ApplicationHelper
- Defined in:
- app/helpers/kuhsaft/application_helper.rb
Instance Method Summary collapse
-
#method_missing(method, *args, &block) ⇒ Object
When rendering the layout of our host application, the paths of the host application are not visible to the engine therefore we delegate all failing helper calls to ‘main_app’, which is our host application.
- #sublime_video_include_tag ⇒ Object
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
When rendering the layout of our host application, the paths of the host application are not visible to the engine therefore we delegate all failing helper calls to ‘main_app’, which is our host application
10 11 12 13 14 |
# File 'app/helpers/kuhsaft/application_helper.rb', line 10 def method_missing(method, *args, &block) main_app.send(method, *args, &block) rescue NoMethodError super end |