Created
November 16, 2011 20:18
-
-
Save jonpaul/1371231 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def destroy | |
@listings = Listing.where(:listing_name => params[:listing_name]) | |
@listings.destroy | |
redirect_to organizations_url, :notice => "Successfully destroyed this group of listings." | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment