Sha256: 8628696ce4bfbee56df1d4e897f3ea6b975d4ed65e897e9e12bef14913e68d29

Contents?: true

Size: 238 Bytes

Versions: 5

Compression:

Stored size: 238 Bytes

Contents

Rails.application.routes.draw do
  if Rails.version >= '4.0.0'
    match "/websocket", :to => WebsocketRails::ConnectionManager.new, via: [:get, :post]
  else
    match "/websocket", :to => WebsocketRails::ConnectionManager.new
  end
end

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
hkroger-websocket-rails-0.7.1 lib/rails/config/routes.rb
wwl-websocket-rails-0.7.3 lib/rails/config/routes.rb
wwl-websocket-rails-0.7.2 lib/rails/config/routes.rb
wwl-websocket-rails-0.7.1 lib/rails/config/routes.rb
websocket-rails-0.7.0 lib/rails/config/routes.rb