method
from_rails_root
v5.0.0.1 -
Show latest stable
- Class:
ActionView::LogSubscriber
from_rails_root(string)protected
No documentation available.
# File actionview/lib/action_view/log_subscriber.rb, line 48
def from_rails_root(string)
string = string.sub(rails_root, EMPTY)
string.sub!(VIEWS_PATTERN, EMPTY)
string
end