lib/metry/psycho/new_goal.erb in metry-2.0.5 vs lib/metry/psycho/new_goal.erb in metry-2.1.0
- old
+ new
@@ -1,7 +1,7 @@
<h1>New Goal</h1>
-<form action="<%= url "/goals" %>" method="post">
+<form action="<%= url "/experiments/#{@experiment.id}/goals" %>" method="post">
<fieldset>
<p><label for="name">Name</label> <input type="text" name="name" /></p>
<p><label for="path">Path</label> <input type="text" name="path" /></p>
<p><input type="submit" value="Create" /></p>
</fieldset>
\ No newline at end of file