improved pool simple edit interface

This commit is contained in:
albert
2011-03-03 18:26:50 -05:00
parent 9e7efbd295
commit e431452a11
17 changed files with 150 additions and 85 deletions

View File

@@ -76,4 +76,12 @@ class WikiPage < ActiveRecord::Base
def initialize_creator
self.creator_id = CurrentUser.user.id
end
def post_set
@post_set ||= PostSets::WikiPage.new(title)
end
def presenter
@presenter ||= WikiPagePresenter.new(self)
end
end