Remove news and fix default_url in ImageUploader
This commit is contained in:
1 parent
0d26f48c9a
commit
475642d375
163 files changed
+46
-8582
No files matched your search
@@ -19,10 +19,7 @@ namespace :data_migration do
|
||||
NewsBulletinCategory.all.each{|bc| bc.disable=false;bc.save!}
|
||||
end
|
||||
|
||||
task :add_search_widget_to_news_and_announcement => :environment do
|
||||
app = ModuleApp.first({:conditions=>{:title => 'news'}})
|
||||
app.widgets << "news_bulletins_search_block" if !app.widgets.include?("news_bulletins_search_block")
|
||||
app.save!
|
||||
task :add_search_widget_to_announcement => :environment do
|
||||
app = ModuleApp.first({:conditions=>{:title => 'Announcement'}})
|
||||
app.widgets << "bulletins_search_block" if !app.widgets.include?("bulletins_search_block")
|
||||
app.save!
|
||||
|
||||
Reference in new issue
Block a user