Sha256: 494eabbf63560d3d09ba558f56f913689c95fac569bbb60571057a5df2602022
Contents?: true
Size: 234 Bytes
Versions: 3
Compression:
Stored size: 234 Bytes
Contents
class Admin::ExportController < ApplicationController model :exporter, :user, :page, :page_part, :snippet, :layout def yaml @response.headers['Content-Type'] = "text/yaml" render_text Radiant::Exporter.export end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
radiant-0.5.1 | app/controllers/admin/export_controller.rb |
radiant-0.5.0 | app/controllers/admin/export_controller.rb |
radiant-0.5.2 | app/controllers/admin/export_controller.rb |