* Refactored post history. Each post now has a single history record. This history record has multiple revisions, serialized as JSON in a text field.

This commit is contained in:
albert
2010-11-06 03:08:27 -04:00
parent 6076788d60
commit f3b4312ef3
11 changed files with 190 additions and 19 deletions

View File

@@ -0,0 +1,6 @@
class PostHistoriesController < ApplicationController
def index
@search = PostHistory.search(params[:search])
@histories = @search.paginate(:page => params[:page], :per_page => 20)
end
end