Skip to content

Disable export (csv, xml, json) links

ares edited this page Apr 2, 2012 · 1 revision

You can disable export links using a :download_links parameter when creating a presenter. Example

index :as => :grid, :download_links => false, :columns => 3 do |video|
  render video
end

Here I specified 3 parameters to index presenter - :as, :download_links and :columns count.

Clone this wiki locally