Fixing rails 4 routing issue.