method
from_rails_root
v7.1.3.4 -
Show latest stable
- Class:
ActionView::LogSubscriber::Utils
from_rails_root(string)private
No documentation available.
# 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