Revise routes.rb to repare wrong sequence caused priority issue.