Merge branch 'master' of gitlab.tp.rulingcom.com:saurabh/orbit4-5 into gravity

This commit is contained in:
Harry Bomrah 2015-07-09 14:22:12 +08:00
commit cc303fb93d
1 changed files with 3 additions and 0 deletions

View File

@ -384,6 +384,9 @@ module OrbitHelper
# get feeds for the module
def self.get_feed_for_module(type)
if ModuleApp.where(:key => "feed").count == 0
return []
end
categories = []
ma = nil
if type == "index"