fixed controllers for rails 4 migration