module Commons::Concerns::Validations::Undestroyable

Private Instance Methods

prevent_destroy() click to toggle source
# File lib/commons/concerns/validations/undestroyable.rb, line 12
def prevent_destroy
  raise Commons::Errors::Unauthorized
end