lib/alephant/renderer/view_mapper.rb in alephant-renderer-1.0.3 vs lib/alephant/renderer/view_mapper.rb in alephant-renderer-1.0.4
- old
+ new
@@ -30,10 +30,10 @@
end
private
def raise_error(path)
- logger.metric({:name => "RenderViewMapperInvalidPath", :unit => "Count", :value => 1})
+ logger.metric("ViewMapperInvalidPath")
raise "Invalid path: '#{path}'"
end
def model(view_id, data)
require model_location_for view_id