add ad_banner inner page,pic title.

This commit is contained in:
Fu Matthew committed 2013-01-09 16:54:33 +08:00
1 parent 614b6fde71
commit 5ab4bbd367
7 files changed
+43 -2

No files matched your search

+6
View File
@@ -383,5 +383,11 @@ namespace :migrate do
end
end
task :add_inner_page_for_ad_banner => :environment do
a = ModuleApp.where(:key=>'ad_banner').first
a.app_pages = ["inner_page"]
a.save
end
end