Defect #31287 » patch.diff
| app/controllers/wiki_controller.rb | ||
|---|---|---|
|
# Export wiki to a single pdf or html file
|
||
|
def export
|
||
|
@pages = @wiki.pages.
|
||
|
order('title').
|
||
|
order('lower(title)').
|
||
|
includes([:content, {:attachments => :author}]).
|
||
|
to_a
|
||
|
respond_to do |format|
|
||