Skip to content

Commit

Permalink
include StaplerProxy into subclass, not Proxy module
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboyd committed Jan 26, 2012
1 parent 41a0a62 commit 930768d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/jenkins/plugin/proxy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ module Proxy
extend Plugin::Behavior

implemented do |cls|
include Java.org.kohsuke.stapler.StaplerProxy
cls.class_eval do
include Java.org.kohsuke.stapler.StaplerProxy
end
end

# Every Proxy object has a reference to the plugin to which it belongs, as well as the
Expand Down

0 comments on commit 930768d

Please sign in to comment.