diff --git a/app/controllers/wiki_controller.rb b/app/controllers/wiki_controller.rb index 98b2dbc..24fae93 100644 --- a/app/controllers/wiki_controller.rb +++ b/app/controllers/wiki_controller.rb @@ -284,7 +284,7 @@ class WikiController < ApplicationController # Export wiki to a single pdf or html file def export - @pages = @wiki.pages.all(:order => 'title', :include => [:content, :attachments]) + @pages = @wiki.pages.all(:order => 'title', :include => [:content, {:attachments => :author}]) respond_to do |format| format.html { export = render_to_string :action => 'export_multiple', :layout => false