Fixed unrecognized routes in Rails 4

prepending routes didn't work with Rails 4