Merge branch 'nccu_fix_matt' of github.com:Rulingcom/NCCU into nccu_fix_matt
Conflicts: app/models/item.rb config/locales/en.yml vendor/built_in_modules/announcement/app/models/bulletin.rb vendor/built_in_modules/news/app/models/news_bulletin.rb
This commit is contained in:
commit
959def6c1f
|
@ -106,7 +106,6 @@ class Bulletin
|
||||||
self.save!
|
self.save!
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def enabled_for_lang(lang)
|
def enabled_for_lang(lang)
|
||||||
eval("self.available_for_#{lang}")
|
eval("self.available_for_#{lang}")
|
||||||
end
|
end
|
||||||
|
|
|
@ -166,7 +166,6 @@ class NewsBulletin
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def enabled_for_lang(lang)
|
|
||||||
eval("self.available_for_#{lang}")
|
eval("self.available_for_#{lang}")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue