fixes #2869: Add way to differentiate Pool Descriptions from Pool History

This commit is contained in:
r888888888
2017-02-14 16:03:19 -08:00
parent aa41c41572
commit f374eec4a1
7 changed files with 61 additions and 11 deletions

View File

@@ -15,6 +15,16 @@ class PoolVersionsController < ApplicationController
end
end
def diff
@pool_version = PoolArchive.find(params[:id])
if params[:other_id]
@other_version = PoolArchive.find(params[:other_id])
else
@other_version = @pool_version.previous
end
end
private
def check_availabililty