Sha256: 1fac6d19680a8b867099d29275c52a670e2c862dfd46f2aa82a16fbc2cbf1c29
Contents?: true
Size: 632 Bytes
Versions: 114
Compression:
Stored size: 632 Bytes
Contents
module SocialStream module Views module Sidebar module Base def sidebar_items type SocialStream::Views::List.new.tap do |items| if type == :group_index items << { :key => 'group.cloud', :html => render(:partial => 'groups/tag_cloud') } end if user_signed_in? items << { :key => 'suggestions_and_pendings', :html => render(:partial => 'contacts/suggestions_and_pendings') } end end end end end end end
Version data entries
114 entries across 114 versions & 4 rubygems