Changed routes in an attempt to conform to Rails 4 routing.