Created
August 18, 2008 14:26
-
-
Save nmerouze/5969 to your computer and use it in GitHub Desktop.
This file contains 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
# Hack for make_resourceful plugin. | |
module Resourceful | |
class Builder | |
module BuilderExtension | |
def set_flash(action, message) | |
after(action) { flash[:notice] = message } | |
end | |
end | |
include BuilderExtension | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment