Remove the generate_permalink method from listing.rb