JC: added @erb_code to controller. spec passes.