fixed issue with routes for rails 4