Sha256: ef014d3a2c2483dfa04f64a90ac8242ffaa9ecedd15e4e18422070c296709cfc
Contents?: true
Size: 535 Bytes
Versions: 6
Compression:
Stored size: 535 Bytes
Contents
# frozen_string_literal: true module Weneedfeed module Controllers class ShowOpml < ::Weneedfeed::Controllers::Base def call response.content_type = 'application/xml; charset=utf-8' response.write( ::Weneedfeed::Views::ShowOpml.new( partial_template_path: ::File.expand_path( 'templates/show_opml.xml.erb', "#{__dir__}/../../.." ), request: request, schema: schema ).to_s ) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems