Sha256: 099091f12deb9d5a1aa6ceb9b40b01b882f19789b4637f54af8b4abce5a50ad6

Contents?: true

Size: 321 Bytes

Versions: 3

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true

module Pakyow
  module Actions
    module Presenter
      # Renders a view in the case a controller wasn't called.
      #
      class AutoRender
        def call(connection)
          connection.app.isolated(:Renderer).render_implicitly(connection)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pakyow-presenter-1.0.0.rc5 lib/pakyow/actions/presenter/auto_render.rb
pakyow-presenter-1.0.0.rc4 lib/pakyow/actions/presenter/auto_render.rb
pakyow-presenter-1.0.0.rc3 lib/pakyow/actions/presenter/auto_render.rb