jbox-web/redmine_git_hosting — pull request #90 by Akasch (2013-10-23 15:07:47+00:00)
Title: gitolite_hooks_controller: fix undefined local variable

I had a Problem with the post-receive-urls, this commit fixed it.

Errormessage:

NameError (undefined local variable or method `revisions' for #):
plugins/redmine_git_hosting/app/controllers/gitolite_hooks_controller.rb:292:in `block in post_receive_payloads'
plugins/redmine_git_hosting/app/controllers/gitolite_hooks_controller.rb:270:in `each'
plugins/redmine_git_hosting/app/controllers/gitolite_hooks_controller.rb:270:in `post_receive_payloads'
plugins/redmine_git_hosting/app/controllers/gitolite_hooks_controller.rb:52:in `block in post_receive'
actionpack (3.2.13) lib/action_dispatch/http/response.rb:44:in `each'