lib/tram/policy/error.rb in tram-policy-2.1.0 vs lib/tram/policy/error.rb in tram-policy-2.2.0

- old
+ new

@@ -39,10 +39,10 @@ # Text of error message translated to the current locale # # @return [String] # def message - key.is_a?(Symbol) ? I18n.t(*item) : key.to_s + key.is_a?(Symbol) ? I18n.t(key, **tags) : key.to_s end # Fetches an option # # @param [#to_sym] tag