Skip to content

Commit

Permalink
Use send to access a protected method
Browse files Browse the repository at this point in the history
  • Loading branch information
brandur committed Jan 17, 2012
1 parent 55bdc50 commit 848e7af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/module_base.rb
Expand Up @@ -7,6 +7,6 @@ def initialize(config)

def expire_action(options)
@@controller ||= ApplicationController.new
@@controller.expire_action(options)
@@controller.send(:expire_action, options)
end
end

0 comments on commit 848e7af

Please sign in to comment.