Gets the full template path with base path for the given template_path and extension.
full_template_path('users/show', 'html.erb') # => '~/rails/app/views/users/show.html.erb
Source Code
# File action_view/base.rb, line 378 def full_template_path(template_path, extension) if @@cache_template_extensions (@@cached_base_paths[template_path] ||= {})[extension.to_s] ||= find_full_template_path(template_path, extension) else find_full_template_path(template_path, extension) end end
<code/>and<pre/>for code samples.