Corrected local param passing to erb files.