fixed before_filter_generate_permailnk in listing.rb file