app/controllers/refinery/race_registrations/registrations_controller.rb in refinerycms-registrations-0.1.1 vs app/controllers/refinery/race_registrations/registrations_controller.rb in refinerycms-registrations-0.1.2
- old
+ new
@@ -20,9 +20,14 @@
@registration = Registration.find(params[:id])
# you can use meta fields from your model instead (e.g. browser_title)
# by swapping @page for @registration in the line below:
present(@page)
+
+ respond_to do |format|
+ format.html
+ format.xls
+ end
end
protected
def find_all_registrations