Routes patch for Rails 4 compatability