method

from_rails_root

rails latest stable - Class: ActionView::LogSubscriber

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

from_rails_root(string)
private

No documentation available.

# File actionview/lib/action_view/log_subscriber.rb, line 65
    def from_rails_root(string) # :doc:
      string = string.sub(rails_root, EMPTY)
      string.sub!(VIEWS_PATTERN, EMPTY)
      string
    end