module CustomReport::Engine::ApplicationHelper

Public Instance Methods

method_missing(method, *args, &block) click to toggle source
Calls superclass method
# File lib/custom_report/engine.rb, line 16
def method_missing(method, *args, &block)
  if (method.to_s.end_with?('_path') || method.to_s.end_with?('_url')) && main_app.respond_to?(method)
    main_app.send(method, *args)
  else
    super
  end
end