Method: Satis::ApplicationHelper#method_missing

Defined in:
app/helpers/satis/application_helper.rb

#method_missing(method, *args, **kwargs, &block) ⇒ Object



7
8
9
10
11
12
13
# File 'app/helpers/satis/application_helper.rb', line 7

def method_missing(method, *args, **kwargs, &block)
  if method.to_s.ends_with?('_url') || method.to_s.ends_with?('_path') && main_app.respond_to?(method)
    main_app.send(method, *args, **kwargs, &block)
  else
    super
  end
end