Created
September 6, 2011 17:41
-
-
Save shime/1198375 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
<% if @something %> | |
$("#showing_<%= @showing.id %>").html("<%= escape_javascript(render(:partial => 'item', :locals => { :showing => @showing, :create => false, :showing_confirmed => true})) %>"); | |
$("#showing_<%= @showing.id %>").effect("highlight"); | |
<% end %> | |
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
def render_links | |
@something = true | |
respond_to do |format| | |
format.js | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment