diff --git a/config/routes/taskbar.rb b/config/routes/taskbar.rb index c965055ec..fcc73275a 100644 --- a/config/routes/taskbar.rb +++ b/config/routes/taskbar.rb @@ -4,7 +4,7 @@ module ExtraRoutes map.match '/api/taskbar/:id', :to => 'taskbar#show', :via => :get map.match '/api/taskbar', :to => 'taskbar#create', :via => :post map.match '/api/taskbar/:id', :to => 'taskbar#update', :via => :put - map.match '/api/taskbar/:id', :to => 'taskbar#destroy', :via => :delete + map.match '/api/taskbar/:id', :to => 'taskbar#destroy',:via => :delete end module_function :add end