summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7953a88)
redaction is an unnecessary restriction.
redaction_id = params['redaction']
unless redaction_id.nil?
# if a redaction ID was specified, then set this element to
redaction_id = params['redaction']
unless redaction_id.nil?
# if a redaction ID was specified, then set this element to
- # be redacted in that redaction. (TODO: check that the
- # user doing the redaction owns the redaction object too)
+ # be redacted in that redaction.
redaction = Redaction.find(redaction_id.to_i)
@old_element.redact!(redaction)
redaction = Redaction.find(redaction_id.to_i)
@old_element.redact!(redaction)