Sha256: 26e196c6cdb0d2721ca4a7fa89928e4da86f5c9fa68b3195543104bf8357029e

Contents?: true

Size: 412 Bytes

Versions: 95

Compression:

Stored size: 412 Bytes

Contents

module SocialStream
  module Views
    module Settings
      module Events
        def settings_items
          super.tap do |items|
            if current_subject.is_a?(Group)
              items.insert_before 'notifications', {
                :key  => 'rooms',
                :html => render(:partial => 'rooms/settings')
              }
            end
          end
        end
      end
    end
  end
end

Version data entries

95 entries across 95 versions & 4 rubygems

Version Path
social_stream-1.1.12 events/lib/social_stream/views/settings/events.rb
social_stream-1.1.11 events/lib/social_stream/views/settings/events.rb
social_stream-1.1.10 events/lib/social_stream/views/settings/events.rb
social_stream-1.1.9 events/lib/social_stream/views/settings/events.rb
social_stream-1.1.8 events/lib/social_stream/views/settings/events.rb
social_stream-1.1.7 events/lib/social_stream/views/settings/events.rb
social_stream-1.1.6 events/lib/social_stream/views/settings/events.rb
social_stream-1.1.5 events/lib/social_stream/views/settings/events.rb
social_stream-1.1.4 events/lib/social_stream/views/settings/events.rb
social_stream-1.1.3 events/lib/social_stream/views/settings/events.rb
social_stream-1.1.2 events/lib/social_stream/views/settings/events.rb
social_stream-1.1.1 events/lib/social_stream/views/settings/events.rb
social_stream-events-1.1.1 lib/social_stream/views/settings/events.rb
social_stream-1.1.0 events/lib/social_stream/views/settings/events.rb
social_stream-events-1.1.0 lib/social_stream/views/settings/events.rb
social_stream-1.0.1 events/lib/social_stream/views/settings/events.rb
social_stream-events-1.0.0 lib/social_stream/views/settings/events.rb
social_stream-0.30.2 events/lib/social_stream/views/settings/events.rb
social_stream-events-0.16.2 lib/social_stream/views/settings/events.rb
social_stream-0.30.1 events/lib/social_stream/views/settings/events.rb