Module: SocialStream::Views::Sidebar::Events

Defined in:
lib/social_stream/views/sidebar/events.rb

Instance Method Summary collapse

Instance Method Details



5
6
7
8
9
10
# File 'lib/social_stream/views/sidebar/events.rb', line 5

def sidebar_items type
  super.tap do |items|
    items.unshift :key => 'calendar',
                  :html => render(:partial => 'events/sidebar_calendar')
  end
end