diff --git a/lib/tasks/mobile_bulletin.rake b/lib/tasks/mobile_bulletin.rake new file mode 100644 index 00000000..24cc7710 --- /dev/null +++ b/lib/tasks/mobile_bulletin.rake @@ -0,0 +1,8 @@ +namespace :mobile_bulletin do + task :update => :environment do + site = Site.first + site.announcement_category = [] + site.save! + puts "Activated Mobile Bulletin" + end +end \ No newline at end of file