2 3 4
# File 'app/controllers/admin/export_controller.rb', line 2 def export render :text => Radiant::Exporter.export(params[:type] || 'yaml'), :content_type => "text/yaml" end