def sitemap_setup(options = {})
      rows = []

      DuckMap.logger.debug "sitemap_setup: action_name => #{options[:action_name]} source => #{options[:source]} model => #{options[:model]}"

      attributes = self.sitemap_attributes(options[:action_name])

      DuckMap.logger.debug "sitemap_setup: attributes => #{attributes}"

      if attributes.kind_of?(Hash) && attributes[:handler].kind_of?(Hash) && !attributes[:handler][:action_name].blank?
        config = {handler: attributes[:handler]}.merge(options)
        rows = self.send(attributes[:handler][:action_name], config)
      end

      return rows
    end
def sitemap_setup(options = {})
      rows = []

      DuckMap.logger.debug "sitemap_setup: action_name => #{options[:action_name]} source => #{options[:source]} model => #{options[:model]}"

      attributes = self.sitemap_attributes(options[:action_name])

      DuckMap.logger.debug "sitemap_setup: attributes => #{attributes}"

      if attributes.kind_of?(Hash) && attributes[:handler].kind_of?(Hash) && !attributes[:handler][:action_name].blank?
        config = {handler: attributes[:handler]}.merge(options)
        rows = self.send(attributes[:handler][:action_name], config)
      end

      return rows
    end
Determines all of the attributes defined for a controller, then, calls the handler method on the controller
 to generate and return an Array of Hashes representing all of the url nodes to be included in the sitemap
 for the current route being processed.
 @return [Array] An Array of Hashes.