Skip to content

Instantly share code, notes, and snippets.

@cherring
Created January 8, 2010 05:33
Show Gist options
  • Save cherring/271877 to your computer and use it in GitHub Desktop.
Save cherring/271877 to your computer and use it in GitHub Desktop.
before_filter :clear_flash
protected
def clear_flash
flash[:notice] = nil
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment