fix route for promote_to_project

This commit is contained in:
Reinier Balt 2012-05-18 19:56:05 +02:00
parent 793a2e3f29
commit 5660329e8e
2 changed files with 2 additions and 1 deletions

View file

@ -610,7 +610,7 @@ var TodoItems = {
return false;
});
/* delete button to delete a project from the list */
/* delete button to delete a dependency from the list */
$('.item-container a.delete_dependency_button').live('click', function(evt){
var predecessor_id=$(this).attr("x_predecessors_id");
var ajax_options = default_ajax_options_for_scripts('DELETE', this.href, $(this).parents('.item-container'));

View file

@ -148,6 +148,7 @@ Tracksapp::Application.routes.draw do
match 'todos/tag/:name' => 'todos#tag', :as => :tag
match 'todos/done/tag/:name' => "todos#done_tag", :as => :done_tag
match 'todos/all_done/tag/:name' => "todos#all_done_tag", :as => :all_done_tag
match 'todos/convert_to_project/:id' => "todos#convert_to_project"
match 'auto_complete_for_predecessor' => 'todos#auto_complete_for_predecessor'
match 'mobile' => 'todos#index', :format => 'm'