summaryrefslogtreecommitdiff
path: root/helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'helpers.rb')
-rw-r--r--helpers.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/helpers.rb b/helpers.rb
index 0a7f829..1f106a7 100644
--- a/helpers.rb
+++ b/helpers.rb
@@ -201,11 +201,11 @@ helpers do
"#{type[0]}/#{ext}"
end
- def find_file(id)
- Dir[File.join('*', 'object', '*', '*.json')].find do |f|
- JSON.load_file(f)['id'] == id
- end
- end
+ # def find_file(id)
+ # Dir[File.join('*', 'object', '*', '*.json')].find do |f|
+ # JSON.load_file(f)['id'] == id
+ # end
+ # end
def find_object(id)
Dir[File.join('*', '**', '*.json')].each do |file|