mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
12 lines
290 B
Ruby
12 lines
290 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "abstract_unit"
|
|
|
|
module RenderXml
|
|
# This has no layout and it works
|
|
class BasicController < ActionController::Base
|
|
self.view_paths = [ActionView::FixtureResolver.new(
|
|
"render_xml/basic/with_render_erb" => "Hello world!"
|
|
)]
|
|
end
|
|
end
|