Sha256: 5a9eaef9af801fb7b546258fa00e32a84f80afafe046dbaadeecbb5920a133eb
Contents?: true
Size: 425 Bytes
Versions: 8
Compression:
Stored size: 425 Bytes
Contents
- entity_name = controller.controller_name.singularize.underscore - @entity = instance_variable_get("@#{entity_name}") $('##{dom_id(@entity)}').css('background-color', '#ffe4e1').slideUp(250); - if called_from_index_page? = refresh_sidebar(:index, :filters) $('#paginate').html('#{ j render(partial: "shared/paginate_with_per_page") }'); - else $('#recently').replaceWith('#{ j render(partial: "shared/recently") }');
Version data entries
8 entries across 8 versions & 1 rubygems