Render HTML pages for ExportHTML 'manually'
This commit is contained in:
parent
d28be2b0ef
commit
af25237a90
4 changed files with 44 additions and 18 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue