Method: MarkdownRecord::ApplicationHelper#respond_to?
- Defined in:
- app/helpers/markdown_record/application_helper.rb
#respond_to?(method) ⇒ Boolean
15 16 17 18 19 20 21 22 23 24 25 |
# File 'app/helpers/markdown_record/application_helper.rb', line 15 def respond_to?(method) if method.to_s.end_with?('_path') || method.to_s.end_with?('_url') if main_app.respond_to?(method) true else super end else super end end |