module Ownership::ControllerMethods

Public Instance Methods

owner(owner, options = {}) click to toggle source
# File lib/ownership/controller_methods.rb, line 8
def owner(owner, options = {})
  around_action options do |_, block|
    owner(owner) { block.call }
  end
end