changed rails route to make pushstate work