Created
January 6, 2015 15:02
-
-
Save StanBoyet/81f91eae429720f1864a to your computer and use it in GitHub Desktop.
From http://stackoverflow.com/questions/16668949/how-to-add-confirm-message-with-link-to-ruby-on-rails
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
link_to 'Reset', message_path(@message), :data => {:confirm => 'Are you sure?'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment