method

_filtered_referrer

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ActionView::Helpers::UrlHelper
_filtered_referrer() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/helpers/url_helper.rb, line 52
      def _filtered_referrer # :nodoc:
        if controller.respond_to?(:request)
          referrer = controller.request.env["HTTP_REFERER"]
          if referrer && URI(referrer).scheme != "javascript"
            referrer
          end
        end
      rescue URI::InvalidURIError
      end
Register or log in to add new notes.