lib/cantango/permits/permit.rb in cantango-0.8.9.3 vs lib/cantango/permits/permit.rb in cantango-0.8.9.4

- old
+ new

@@ -64,12 +64,11 @@ def options ability.options end - # [:session, :controller, :request, :params, :domain, :cookies].each do |obj| - CanTango::Api::Options.options_list.each do |obj| - class_eval %{ + CanTango::Api::Options.options_list.each do |obj| + class_eval %{ def #{obj} options[:#{obj}] end } end