Sha256: 26ce3f744c296a2509f70eb5ee2ddad2a18f2490248effbe2999dd5367b38dda

Contents?: true

Size: 369 Bytes

Versions: 7

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

module Pakyow
  class Application
    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
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pakyow-presenter-1.0.6 lib/pakyow/application/actions/presenter/auto_render.rb
pakyow-presenter-1.0.5 lib/pakyow/application/actions/presenter/auto_render.rb
pakyow-presenter-1.0.4 lib/pakyow/application/actions/presenter/auto_render.rb
pakyow-presenter-1.0.3 lib/pakyow/application/actions/presenter/auto_render.rb
pakyow-presenter-1.0.2 lib/pakyow/application/actions/presenter/auto_render.rb
pakyow-presenter-1.0.1 lib/pakyow/application/actions/presenter/auto_render.rb
pakyow-presenter-1.0.0 lib/pakyow/application/actions/presenter/auto_render.rb