orbit-4-2/lib/tasks/mobile_bulletin.rake

8 lines
187 B
Ruby
Raw Permalink Normal View History

namespace :mobile_bulletin do
task :update => :environment do
site = Site.first
site.announcement_category = []
site.save!
puts "Activated Mobile Bulletin"
end
end