method
strip_base_path
rails latest stable - Class:
ActionView::TemplateError
strip_base_path(path)private
No documentation available.
# File actionpack/lib/action_view/template_error.rb, line 91
def strip_base_path(path)
stripped_path = File.expand_path(path).gsub(@base_path, "")
stripped_path.gsub!(/^#{Regexp.escape File.expand_path(RAILS_ROOT)}/, '') if defined?(RAILS_ROOT)
stripped_path
end