fixed routing for :all method