instance method
templates_dir_from_path
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18 PrivateSignature
templates_dir_from_path(path)
No documentation comment.
Parameters
-
pathreq
Source
# File actionpack/lib/action_view/reloadable_template.rb, line 65
def templates_dir_from_path(path)
dirname = File.dirname(path)
File.join(@path, dirname == '.' ? '' : dirname)
end
Defined in actionpack/lib/action_view/reloadable_template.rb line 65
· View on GitHub
· Improve this page
· Find usages on GitHub