Fix subjects controller to work with friendly_id