add wiki diff

This commit is contained in:
albert
2013-02-23 20:08:20 -05:00
parent 586c9a7258
commit 81c9ba22a7
9 changed files with 125 additions and 29 deletions

View File

@@ -10,4 +10,9 @@ class WikiPageVersionsController < ApplicationController
@wiki_page_version = WikiPageVersion.find(params[:id])
respond_with(@wiki_page_version)
end
def diff
@thispage = WikiPageVersion.find(params[:thispage])
@otherpage = WikiPageVersion.find(params[:otherpage])
end
end