Sha256: 42b2ba28f82402821bd64ee331d0a646eb8a7ced1aa306f0db78dfbf162db4e4
Contents?: true
Size: 424 Bytes
Versions: 83
Compression:
Stored size: 424 Bytes
Contents
$(@).ready( -> $('[data-hook=general_settings_clear_cache] #clear_cache').click -> $.ajax type: 'POST' url: Spree.routes.clear_cache success: -> show_flash 'success', "Cache was flushed." error: (msg) -> if msg.responseJSON["error"] show_flash 'error', msg.responseJSON["error"] else show_flash 'error', "There was a problem while flushing cache." )
Version data entries
83 entries across 83 versions & 2 rubygems