method
new_path
v2.1.0 -
Show latest stable
- Class:
ActionController::Resources::Resource
new_path()public
No documentation available.
# File actionpack/lib/action_controller/resources.rb, line 82
def new_path
new_action = self.options[:path_names][:new] if self.options[:path_names]
new_action ||= Base.resources_path_names[:new]
@new_path ||= "#{path}/#{new_action}"
end