modified routes.rb for rails 4