# File lib/action_view/log_subscriber.rb, line 22 def from_rails_root(string) string.sub("#{Rails.root}/", "").sub(/^app\/views\//, "") end