Skip to content

Commit

Permalink
Fix updates of sprints and user_stories
Browse files Browse the repository at this point in the history
  • Loading branch information
bigon committed May 4, 2010
1 parent 74ea3ac commit 28383f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/sprints/_edit.html.erb
@@ -1,5 +1,5 @@
<% labelled_tabular_remote_form_for :sprint, @sprint,
:url => {:controller => "sprints", :action => "update", :project_id => @project.identifier},
:url => {:controller => "sprints", :action => "update", :project_id => @project.identifier, :id => @sprint.id},
:html => {:method => :post, :multipart => true, :id => 'sprint-form'} do |f| %>
<%= render(:partial => "sprints/form", :locals => {:f => f}) %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/user_stories/_edit.erb
@@ -1,7 +1,7 @@
<div id="new_us_form_cont">
<div id="new_us_form">

<% remote_form_for @user_story, :url => {:controller => 'user_stories', :action => "update", :project_id => @project.identifier, :target => target},:html => { :method => :post} do |f| %>
<% 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| %>
<%= f.error_messages %>

<p>
Expand Down

0 comments on commit 28383f3

Please sign in to comment.