module ActionDispatch::Routing::Mapper::Base

Public Instance Methods

record_select_routes() click to toggle source
# File lib/record_select/extensions/routing_mapper.rb, line 9
def record_select_routes
  collection do
    ActionDispatch::Routing::RECORD_SELECT_ROUTING[:collection].each {|name, type| send(type, name)}
  end
  member do
    ActionDispatch::Routing::RECORD_SELECT_ROUTING[:member].each {|name, type| send(type, name)}
  end
end