Render HTML pages for ExportHTML 'manually'

This commit is contained in:
Alexey Verkhovsky 2005-10-27 05:29:24 +00:00
parent d28be2b0ef
commit af25237a90
4 changed files with 44 additions and 18 deletions

View file

@ -94,6 +94,10 @@ class Page < ActiveRecord::Base
locked_at + LOCKING_PERIOD > comparison_time unless locked_at.nil?
end
def to_param
name
end
private
def continous_revision?(time, author)

View file

@ -79,6 +79,10 @@ class Web < ActiveRecord::Base
PageSet.new(self, pages, nil)
end
def to_param
address
end
private
# Returns an array of all the wiki words in any current revision