First Amendment lawsuit against city dismissed