orbit-basic/lib/tasks/mobile_bulletin.rake

8 lines
187 B
Ruby
Raw 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