Module: DescriptorJavascriptHelper

Defined in:
app/helpers/descriptor_javascript_helper.rb

Overview

rubocop:todo Style/Documentation

Instance Method Summary collapse

Instance Method Details


3
4
5
# File 'app/helpers/descriptor_javascript_helper.rb', line 3

def link_to_remove_asset(index, &block)
  link_to_with_onclick_only("removeAsset(#{index});return false;", &block)
end