Sha256: bc141634735f50808cc03dade4b7923f7903197d8617ca86e383b531d45e72ec
Contents?: true
Size: 296 Bytes
Versions: 2
Compression:
Stored size: 296 Bytes
Contents
<% if instance_variable_get("@#{controller_name.singularize}").destroyed? %> $("a[data-method='delete']").filter("[href='<%=j request.path %>']").closest("tr, li").remove() notify_notice('<%=j t("flash.success.delete") %>') <% else %> notify_error('<%=j t("flash.error.delete") %>') <% end %>
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
fullstack-cms-0.1.1 | lib/generators/fullstack/cms/templates/rails/app/views/admin/base/destroy.js.coffee |
fullstack-admin-0.1.11 | app/views/admin/base/destroy.js.coffee |