3 4 5 6
# File 'lib/vueport/helper.rb', line 3 def vueport(content = nil, &block) content = capture(&block) if block_given? Vueport::Renderer.new(content, path: request.path).render end