ruby
ApplicationController.render(
  inline: article.body,
  type: :"mdrb-atom",
  layout: false,
  content_type: "application/atom+xml",
  assigns: {
    format: :atom
  }
)

Back to snippets