Show votes associated to verified signatures
This commit is contained in:
@@ -21,6 +21,7 @@ class Admin::SignatureSheetsController < Admin::BaseController
|
||||
|
||||
def show
|
||||
@signature_sheet = SignatureSheet.find(params[:id])
|
||||
@voted_signatures = Vote.where(signature: @signature_sheet.signatures.verified).count
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user