Controllers create renderer objects and pass them on to page.revise and page.rollback methods

This commit is contained in:
Alexey Verkhovsky 2005-09-10 06:12:57 +00:00
parent 4838f6e684
commit 7e500dfe57
13 changed files with 303 additions and 79 deletions

View file

@ -4,7 +4,9 @@ require 'diff'
class PageRenderer
def initialize(revision)
attr_accessor :revision
def initialize(revision = nil)
@revision = revision
end