Method: WAB::Controller#handle
- Defined in:
- lib/wab/controller.rb
#handle(_data) ⇒ Object
Handler for paths that do not match the REST pattern or for unregistered types. Only called on the default controller.
Processing result are passed back to the view which forward the result on to the requester. The result, if not nil, should be a Data instance.
- data
-
data to be processed
30 31 32 |
# File 'lib/wab/controller.rb', line 30 def handle(_data) nil end |