Sha256: dd4cbca02812eb55667c761a9a5b41379e383adf53f0a7f8cb7a0d688122e243

Contents?: true

Size: 177 Bytes

Versions: 8

Compression:

Stored size: 177 Bytes

Contents

class Admin::ExportController < ApplicationController
  def export
    render :text => Radiant::Exporter.export(params[:type] || 'yaml'), :content_type => "text/yaml"
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
radiant-exporter-extension-1.1.0 app/controllers/admin/export_controller.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/radiant-exporter-extension-1.0.3/app/controllers/admin/export_controller.rb
radiant-exporter-extension-1.0.3 app/controllers/admin/export_controller.rb
radiant-exporter-extension-1.0.2 app/controllers/admin/export_controller.rb
radiant-exporter-extension-1.0.1 app/controllers/admin/export_controller.rb
radiant-exporter-extension-1.0.0 app/controllers/admin/export_controller.rb
radiant-1.0.0.rc2 vendor/extensions/exporter/app/controllers/admin/export_controller.rb
radiant-1.0.0.rc1 vendor/extensions/exporter/app/controllers/admin/export_controller.rb