Sha256: 4c2f6d7834c9a61c3c1d18240953437fbe881e29d3297265d21d55a3be27a6e7

Contents?: true

Size: 198 Bytes

Versions: 75

Compression:

Stored size: 198 Bytes

Contents

module SocialStream
  module Routing
    module Constraints
      class Custom
        def matches?(request)
          SocialStream.relation_model == :custom
        end
      end
    end
  end
end

Version data entries

75 entries across 75 versions & 2 rubygems

Version Path
social_stream-2.1.1 base/lib/social_stream/routing/constraints/custom.rb
social_stream-1.1.12 base/lib/social_stream/routing/constraints/custom.rb
social_stream-base-1.1.11 lib/social_stream/routing/constraints/custom.rb
social_stream-2.1.0 base/lib/social_stream/routing/constraints/custom.rb
social_stream-base-2.1.0 lib/social_stream/routing/constraints/custom.rb
social_stream-2.0.4 base/lib/social_stream/routing/constraints/custom.rb
social_stream-base-2.0.4 lib/social_stream/routing/constraints/custom.rb
social_stream-2.0.3 base/lib/social_stream/routing/constraints/custom.rb
social_stream-base-2.0.3 lib/social_stream/routing/constraints/custom.rb
social_stream-1.1.11 base/lib/social_stream/routing/constraints/custom.rb
social_stream-base-1.1.10 lib/social_stream/routing/constraints/custom.rb
social_stream-1.1.10 base/lib/social_stream/routing/constraints/custom.rb
social_stream-base-1.1.9 lib/social_stream/routing/constraints/custom.rb
social_stream-1.1.9 base/lib/social_stream/routing/constraints/custom.rb
social_stream-base-1.1.8 lib/social_stream/routing/constraints/custom.rb
social_stream-1.1.8 base/lib/social_stream/routing/constraints/custom.rb
social_stream-base-1.1.7 lib/social_stream/routing/constraints/custom.rb
social_stream-2.0.2 base/lib/social_stream/routing/constraints/custom.rb
social_stream-base-2.0.2 lib/social_stream/routing/constraints/custom.rb
social_stream-2.0.1 base/lib/social_stream/routing/constraints/custom.rb