openMF/community-app — pull request #728 by chelseakomlo (2014-01-09 17:13:28+00:00)
Title: Refactor view client controller

I refactored ViewClientController to pull button values into a model, and assign the values of the button using an exposed method.

I added tests and checked the functionality manually, however, please let me know if there is unexpected behavior.

The purpose of this change is to simplify the ViewClientController, and make the controller easier to test by pulling logic into a model.