mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-04 00:08:50 +01:00
fix route for promote_to_project
This commit is contained in:
parent
793a2e3f29
commit
5660329e8e
2 changed files with 2 additions and 1 deletions
|
|
@ -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'));
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue