# File lib/action_controller/resources.rb, line 423 def resource(*entities, &block) options = entities.extract_options! entities.each { |entity| map_singleton_resource(entity, options.dup, &block) } end