Method: MarkdownRecord::ApplicationHelper#method_missing
- Defined in:
- app/helpers/markdown_record/application_helper.rb
#method_missing(method, *args, &block) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 |
# File 'app/helpers/markdown_record/application_helper.rb', line 3 def method_missing(method, *args, &block) if method.to_s.end_with?('_path') || method.to_s.end_with?('_url') if main_app.respond_to?(method) main_app.send(method, *args) else super end else super end end |