lib/timber/events/controller_call.rb in timber-2.1.0.rc5 vs lib/timber/events/controller_call.rb in timber-2.1.0.rc6
- old
+ new
@@ -24,10 +24,10 @@
def to_hash
{controller: controller, action: action, params_json: params_json}
end
alias to_h to_hash
- # Builds a hash representation of containing simply objects, suitable for serialization.
+ # Builds a hash representation containing simple objects, suitable for serialization (JSON).
def as_json(_options = {})
{:controller_call => to_hash}
end
def message
\ No newline at end of file