Method: ActionDispatch::Routing::Mapper#rest_resources
- Defined in:
- lib/rest_framework/routers.rb
#rest_resources(*names, **kwargs, &block) ⇒ Object
Public interface for creating plural RESTful resource routes.
108 109 110 111 112 |
# File 'lib/rest_framework/routers.rb', line 108 def rest_resources(*names, **kwargs, &block) names.each do |n| self._rest_resources(false, n, **kwargs, &block) end end |