Manage Uploaded Files

A less abstruse interface for deleting files (this time, many at-a-shot).
Available from the Edit Web page.
This commit is contained in:
Jacques Distler 2008-12-31 03:54:23 -06:00
parent 788d1eb075
commit 1d3f7007c6
7 changed files with 58 additions and 2 deletions

View file

@ -53,6 +53,10 @@ class WikiController < ApplicationController
@authors = @page_names_by_author.keys.sort
end
def file_list
@web.file_list
end
def export_html
stylesheet = File.read(File.join(RAILS_ROOT, 'public', 'stylesheets', 'instiki.css'))
export_pages_as_zip('html') do |page|