Class: Admin::ExportController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/admin/export_controller.rb

Instance Method Summary collapse

Instance Method Details

#yamlObject



2
3
4
# File 'app/controllers/admin/export_controller.rb', line 2

def yaml
  render :text => Radiant::Exporter.export, :content_type => "text/yaml"
end