opscode/supermarket — pull request #626 by tristanoneil (2014-07-22 16:08:34+00:00)
Title: Refactor follow/unfollow button AJAX

:fork_and_knife: Rather than re-rendering the entire view and manipulating the dom upon a successful follow/unfollow request this moves the follow buttons (for the show view and the partial) into a partial and renders them upon a successful follow/unfollow then inserts the results into the dom.