# File lib/action_dispatch/routing/mapper.rb, line 1247 def action_path(name, path = nil) path || @scope[:path_names][name.to_sym] || name.to_s end