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-events-0.12.1 lib/social_stream/views/settings/events.rb
social_stream-0.26.0 events/lib/social_stream/views/settings/events.rb
social_stream-events-0.12.0 lib/social_stream/views/settings/events.rb
social_stream-0.25.2 events/lib/social_stream/views/settings/events.rb
social_stream-0.25.1 events/lib/social_stream/views/settings/events.rb
social_stream-0.25.0 events/lib/social_stream/views/settings/events.rb
social_stream-events-0.11.0 lib/social_stream/views/settings/events.rb
social_stream-0.24.1 events/lib/social_stream/views/settings/events.rb
social_stream-events-0.10.1 lib/social_stream/views/settings/events.rb
social_stream-0.24.0 events/lib/social_stream/views/settings/events.rb
social_stream-events-0.10.0 lib/social_stream/views/settings/events.rb
social_stream-0.23.4 events/lib/social_stream/views/settings/events.rb
social_stream-0.23.3 events/lib/social_stream/views/settings/events.rb
social_stream-events-0.9.2 lib/social_stream/views/settings/events.rb
social_stream-0.23.2 events/lib/social_stream/views/settings/events.rb
social_stream-events-0.9.1 lib/social_stream/views/settings/events.rb
social_stream-0.23.1 events/lib/social_stream/views/settings/events.rb
social_stream-events-0.9.0 lib/social_stream/views/settings/events.rb
social_stream-0.22.1 events/lib/social_stream/views/settings/events.rb
social_stream-events-0.8.2 lib/social_stream/views/settings/events.rb