Make routes Rails 4 friendly