Possibility of Obsolete an Approved Version of a Document #798
This commit is contained in:
parent
e677057a50
commit
86b81c2f41
@ -246,7 +246,7 @@ class DmsfFilesController < ApplicationController
|
||||
|
||||
def obsolete_revision
|
||||
if @revision
|
||||
if @revision.obsolete()
|
||||
if @revision.obsolete
|
||||
flash[:notice] = l(:notice_revision_obsoleted)
|
||||
else
|
||||
flash[:error] = @revision.errors.full_messages.join(', ')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user