Class: Routes
- Inherits:
-
RubyPitaya::RoutesBase
- Object
- RubyPitaya::RoutesBase
- Routes
- Defined in:
- lib/rubypitaya/app-template/config/routes.rb
Instance Method Summary collapse
-
#setup ⇒ Object
class: RoutesBase methods: - match(‘new_handler_name’, to: ‘ClassHandler’) - Defines a new name to handler.
Methods inherited from RubyPitaya::RoutesBase
#get_new_handler_name, #initialize, #match
Constructor Details
This class inherits a constructor from RubyPitaya::RoutesBase
Instance Method Details
#setup ⇒ Object
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 |