lib/weasel/concerns/auditable.rb in weasel-0.2.8 vs lib/weasel/concerns/auditable.rb in weasel-0.2.9
- old
+ new
@@ -40,12 +40,10 @@
response: {
status: response.status
}.tap do |hash|
hash[:body] = response.body if response.body
end
- }.tap do |hash|
- hash[:flash] = request.flash if request.flash
- end
+ }
end
def geo_ip_information
geo_service.country(request.remote_ip).to_h
end