diff --git a/util/file_helpers.rb b/util/file_helpers.rb index c03077b..fba735a 100644 --- a/util/file_helpers.rb +++ b/util/file_helpers.rb @@ -19,7 +19,7 @@ def call(file) # Simply read the routes file and return data def read(file) - filepath = File.join(File.dirname(__dir__), file) + filepath = File.expand_path(file) file = File.read(filepath) Success(file) rescue