4759: Ignore args to as_json.
authorTom Clegg <tom@curoverse.com>
Tue, 17 Feb 2015 03:35:20 +0000 (22:35 -0500)
committerTom Clegg <tom@curoverse.com>
Tue, 17 Feb 2015 03:35:20 +0000 (22:35 -0500)
services/api/config/initializers/time_format.rb

index ca67b19ce2519c14113437a3ddac67464033541e..d476781e55ca8638186d2cbe5ed2cc50e5fdd8cc 100644 (file)
@@ -1,5 +1,5 @@
 class ActiveSupport::TimeWithZone
-  def as_json
+  def as_json *args
     strftime "%Y-%m-%dT%H:%M:%S.%NZ"
   end
 end