Skip to content

Commit 9e8f597

Browse files
committed
modern Rails needs 'render body:' not 'render text:'
1 parent 6f5ee64 commit 9e8f597

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/oai/provider.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
# options = params.delete_if { |k,v| %w{controller action}.include?(k) }
121121
# provider = BlogProvider.new
122122
# response = provider.process_request(options)
123-
# render :text => response, :content_type => 'text/xml'
123+
# render :body => response, :content_type => 'text/xml'
124124
# end
125125
# end
126126
# ```

0 commit comments

Comments
 (0)