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