trying to fix it for rails 4 routing.