This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/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