zanker/hue-controller — pull request #5 by j15e (2013-05-26 20:33:51+00:00)
Title: Fix crash when having no lights groups

When having no groups, case params[:groups] is nil and .each is undefined which throws an error.