Sha256: 173a81ee3bfda39f3fbbdfa2b8f2fa694c91ee53240db285be8923ffd0b2839e

Contents?: true

Size: 306 Bytes

Versions: 1

Compression:

Stored size: 306 Bytes

Contents

module Skylight
  module Normalize
    class RenderPartial < Normalizer
      register "render_partial.action_view"

      def normalize
        path = @payload[:identifier]
        annotations = { partial: true }

        [ "view.render.template", path, path, annotations ]
      end
    end
  end
end



Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
skylight-0.0.7 lib/skylight/normalize/render_partial.rb