Corrected main controller to use :partial instead of calling :file.
Corrected main controller to use :partial instead of calling :file.