Sha256: 12258f1c239ebe2acffb320ce8957b9ec4ed34a90f3c3d21155e53eabd6cbe7f
Contents?: true
Size: 607 Bytes
Versions: 6
Compression:
Stored size: 607 Bytes
Contents
var notification = function(msg) {noty({text: msg,layout: 'bottomRight',type: 'alert',dismissQueue: true,animation: {open: 'animated tada',close: 'bounceOutRight',easing: 'swing',speed: 500},timeout: 5000,callback: {afterShow: function() {$.noty.closeAll()}}})}; - case action_name - when 'create' notification("#{controller_name.humanize.singularize} creado satisfactoriamente.") - when 'update' notification("#{controller_name.humanize.singularize} actualizado satisfactoriamente.") - when 'destroy' notification("#{controller_name.humanize.singularize} eliminado satisfactoriamente.")
Version data entries
6 entries across 6 versions & 1 rubygems