method

from_rails_root

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Utils
from_rails_root(string) 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/log_subscriber.rb, line 63
      def from_rails_root(string)
        string = string.sub(rails_root, "")
        string.sub!(VIEWS_PATTERN, "")
        string
      end
Register or log in to add new notes.