Change route declarations for Rails4 support