module Skylight module Normalizers module ActionView # Normalizer for Rails partial rendering class RenderPartial < RenderNormalizer register "render_partial.action_view" CAT = "view.render.template".freeze # @param trace [Skylight::Messages::Trace::Builder] ignored, only present to match API # @param name [String] ignored, only present to match API # @param payload (see RenderNormalizer#normalize_render) # @option payload (see RenderNormalizer#normalize_render) # @return (see RenderNormalizer#normalize_render) def normalize(trace, name, payload) normalize_render(CAT, payload) end end end end end