method
from_rails_root
v8.1.1 -
Show latest stable
- Class:
ActionView::LogSubscriber::Utils
from_rails_root(string)private
No documentation available.
# File actionview/lib/action_view/log_subscriber.rb, line 60
def from_rails_root(string)
string = string.sub(rails_root, "")
string.sub!(VIEWS_PATTERN, "")
string
end