diff options
author | adamliesko <adamliesko@gmail.com> | 2015-12-13 12:47:08 +0100 |
---|---|---|
committer | adamliesko <adamliesko@gmail.com> | 2015-12-13 12:47:08 +0100 |
commit | 1c6fb5e3975a96e70684965ca47291206caab6c3 (patch) | |
tree | 931ef48e7bc1ed0807d112a1812ab0157004a8ac | |
parent | 09e10ef643f00c6b4c5877438ed50d2a5f199522 (diff) | |
download | rails-1c6fb5e3975a96e70684965ca47291206caab6c3.tar.gz rails-1c6fb5e3975a96e70684965ca47291206caab6c3.tar.bz2 rails-1c6fb5e3975a96e70684965ca47291206caab6c3.zip |
Remove unused method allowed_origins in Connection::Base
-rw-r--r-- | lib/action_cable/connection/base.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/action_cable/connection/base.rb b/lib/action_cable/connection/base.rb index 95af9c2928..7e9eec7508 100644 --- a/lib/action_cable/connection/base.rb +++ b/lib/action_cable/connection/base.rb @@ -180,11 +180,6 @@ module ActionCable end end - def allowed_origins_match? origin - allowed_origins = Array(server.config.allowed_request_origins) - allowed_origins.any? { |allowed_origin| allowed_origin.is_a?(Regexp) ? allowed_origin =~ origin : allowed_origin == origin } - end - def respond_to_successful_request websocket.rack_response end |