lib/vedeu/repositories/repository.rb in vedeu-0.6.38 vs lib/vedeu/repositories/repository.rb in vedeu-0.6.39
- old
+ new
@@ -164,9 +164,10 @@
alias_method :register, :store
alias_method :add, :store
private
+ # @param model [void] A model instance.
# @return [String]
def log_store(model)
type = registered?(model.name) ? :update : :create
Vedeu.log(type: type,