caseyli/capo — comment on commit f9452134d84feb7eb8dd28bbb272be2758ea3f48
File: app/controllers/open_mics_controller.rb line 84
By jduff:

could be refactored to:

``` ruby
if success
response = {:response => success, :attendee_count => @open_mic.users.size}
else
response = {:response => success, :message => error_message}
end

respond_with(response) do |format|
format.html{ redirect_to @open_mic }
end
```