Changed assignments_controller if block in new method
Merge branch 'rails4' of https://github.com/kschneider3/expertiza into rails4