summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/company.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/company.rb b/app/models/company.rb
index 134d8e9..0fb5cd8 100644
--- a/app/models/company.rb
+++ b/app/models/company.rb
@@ -12,6 +12,8 @@ class Company < ApplicationRecord
has_one_attached :logo
+ paginates_per 10
+
def to_param
short_name
end