Sha256: 0446ad3614e159934e6bc6f0146f2d7bada127a0d0aaeb1168f6a5d4d81fc4a5
Contents?: true
Size: 437 Bytes
Versions: 3
Compression:
Stored size: 437 Bytes
Contents
$(@).ready( -> $('[data-hook=general_settings_clear_cache] #clear_cache').click -> $.ajax type: 'POST' url: '/admin/general_settings/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
3 entries across 3 versions & 1 rubygems