Fix actionmailer default url bug.