This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mutex = false; | |
function load_ads() | |
{ | |
if (mutex) { | |
setTimeout("load_ads()", 100); // try again in 100 ms? | |
return; | |
} | |
mutex = true; | |
if (!$('#pushdown').html()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web: bundle exec puma -p $PORT | |
worker: bundle exec rake jobs:work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.actions do | |
member :spam do | |
link_icon 'icon-ban-circle' | |
bulkable? { true } | |
controller do | |
Proc.new do | |
if params[:bulk_ids] | |
params[:bulk_ids].each {|id| @abstract_model.model.find(id).spam } | |
flash[:success] = "#{params[:bulk_ids].size} Spammed" | |
else |
NewerOlder