fixing the issue with the routing (Tasks#index)