Flowdock
method

relative_path

Importance_0
v2.3.2 - Show latest stable - 0 notes - Class: ActionView::Template
relative_path() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_view/template.rb, line 172
    def relative_path
      path = File.expand_path(filename)
      path.sub!(/^#{Regexp.escape(File.expand_path(RAILS_ROOT))}\//, '') if defined?(RAILS_ROOT)
      path
    end
Register or log in to add new notes.