Change the listing.rb file the generate permalink method was not working