@@ -284,7 +284,7 class WikiController < ApplicationController | |||||
284 |
|
284 | |||
285 | # Export wiki to a single pdf or html file |
|
285 | # Export wiki to a single pdf or html file | |
286 | def export |
|
286 | def export | |
287 | @pages = @wiki.pages.all(:order => 'title', :include => [:content, :attachments]) |
|
287 | @pages = @wiki.pages.all(:order => 'title', :include => [:content, {:attachments => :author}]) | |
288 | respond_to do |format| |
|
288 | respond_to do |format| | |
289 | format.html { |
|
289 | format.html { | |
290 | export = render_to_string :action => 'export_multiple', :layout => false |
|
290 | export = render_to_string :action => 'export_multiple', :layout => false |
General Comments 0
You need to be logged in to leave comments.
Login now