I need to pass the path for current view to a render for partial within that view in order to generate a link (in the partial) to the view itself. How can I get the path for the current view when javascript is disabled?
<%= render "errors", object: @car.plate, path: (what?)%>