lib/surrounded/access_control.rb in surrounded-0.9.4 vs lib/surrounded/access_control.rb in surrounded-0.9.5

- old
+ new

@@ -12,10 +12,10 @@ def disallow(*names, &block) names.map do |name| define_access_method(name, &block) end end - alias_method :guard, :disallow + alias guard disallow def trigger_return_content(name, *args, &block) %{ method_restrictor = "disallow_#{name}?" \ No newline at end of file