Skip to content

Commit 28383f3

Browse files
committed
Fix updates of sprints and user_stories
1 parent 74ea3ac commit 28383f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/sprints/_edit.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<% labelled_tabular_remote_form_for :sprint, @sprint,
2-
:url => {:controller => "sprints", :action => "update", :project_id => @project.identifier},
2+
:url => {:controller => "sprints", :action => "update", :project_id => @project.identifier, :id => @sprint.id},
33
:html => {:method => :post, :multipart => true, :id => 'sprint-form'} do |f| %>
44

55
<%= render(:partial => "sprints/form", :locals => {:f => f}) %>

app/views/user_stories/_edit.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div id="new_us_form_cont">
22
<div id="new_us_form">
33

4-
<% remote_form_for @user_story, :url => {:controller => 'user_stories', :action => "update", :project_id => @project.identifier, :target => target},:html => { :method => :post} do |f| %>
4+
<% remote_form_for @user_story, :url => {:controller => 'user_stories', :action => "update", :project_id => @project.identifier, :id => @user_story.id, :target => target},:html => { :method => :post} do |f| %>
55
<%= f.error_messages %>
66

77
<p>

0 commit comments

Comments
 (0)