bug in url fixed, url depend on order defined in routes.rb