method
default_template_name
default_template_name(action_name = self.action_name)
private
Hide source
# File actionpack/lib/action_controller/base.rb, line 1215 def default_template_name(action_name = self.action_name) if action_name action_name = action_name.to_s if action_name.include?('/') && template_path_includes_controller?(action_name) action_name = strip_out_controller(action_name) end end "#{self.class.controller_path}/#{action_name}" end