Method: Sapp::RouteMap#add_stream
- Defined in:
- lib/sapp/route_map.rb
#add_stream(path_hash, controller) ⇒ Object
89 90 91 |
# File 'lib/sapp/route_map.rb', line 89 def add_stream path_hash, controller controller[:streams] << path_hash[:stream] end |