making routes rails 4 ready