Update routes for Rails 4.