Module: Showcase::RouteHelper

Defined in:
lib/showcase/route_helper.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/showcase/route_helper.rb', line 4

def method_missing(name, ...)
  if name.end_with?("_path", "_url")
    main_app.public_send(name, ...)
  else
    super
  end
end