aboutsummaryrefslogtreecommitdiff
path: root/app/models/backends.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/backends.rb')
-rw-r--r--app/models/backends.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/backends.rb b/app/models/backends.rb
index bafe9e8..0caf8fe 100644
--- a/app/models/backends.rb
+++ b/app/models/backends.rb
@@ -37,7 +37,7 @@ module Backends
end
def self.all
- classes.flat_map { |backend| backend.all }
+ classes.flat_map(&:all)
end
def self.find_by_type_and_id(type_and_id)