Created
April 16, 2013 18:15
-
-
Save plusjade/5398200 to your computer and use it in GitHub Desktop.
Simple example of rails javascript-in-views refactoring
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
#share-on-yammer-modal.modal.fade | |
.modal-header | |
... blah | |
- content_for :partial_javascripts do | |
:plain | |
Gild.profileView.shareOnYammer(#{ @profile.to_json }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment