From e1b4b5e8e56b5fe88d12294b322942fea0f77344 Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer Date: Tue, 31 May 2016 14:53:50 +0200 Subject: [PATCH] typo --- lib/common/models/wp_item/findable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/models/wp_item/findable.rb b/lib/common/models/wp_item/findable.rb index 980b3a06..3027b1f3 100644 --- a/lib/common/models/wp_item/findable.rb +++ b/lib/common/models/wp_item/findable.rb @@ -9,7 +9,7 @@ class WpItem # # @return [ void ] def found_from=(method) - @found_from = method.to_s.to_s.gsub(/find_from_/, '').gsub(/_/, ' ') + @found_from = method.to_s.gsub(/find_from_/, '').gsub(/_/, ' ') end module Findable