Sha256: 5e5a4cb592629d8459567cdc4815a15a5de1cd912b31009e16b78b0e0be7acbd

Contents?: true

Size: 167 Bytes

Versions: 4

Compression:

Stored size: 167 Bytes

Contents

class Admin::ExportController < ApplicationController
  def yaml
    response.headers['Content-Type'] = "text/yaml"
    render_text Radiant::Exporter.export
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
radiant-0.6.1 app/controllers/admin/export_controller.rb
radiant-0.6.0 app/controllers/admin/export_controller.rb
radiant-0.6.2 app/controllers/admin/export_controller.rb
radiant-0.6.3 app/controllers/admin/export_controller.rb