Class: Routes

Inherits:
RubyPitaya::RoutesBase show all
Defined in:
lib/rubypitaya/app-template/config/routes.rb

Instance Method Summary collapse

Methods inherited from RubyPitaya::RoutesBase

#get_new_handler_name, #initialize, #match

Constructor Details

This class inherits a constructor from RubyPitaya::RoutesBase

Instance Method Details

#setupObject

class: RoutesBase methods:

- match('new_handler_name', to: 'ClassHandler')
  - Defines a new name to handler


8
9
10
# File 'lib/rubypitaya/app-template/config/routes.rb', line 8

def setup
  # match('helloHandler', to: 'HelloWorldHandler')
end