about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-19 14:02:30 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-19 14:02:30 +0100
commit71ae4dd3d2dbafc1ef6e7716c379d01ea194aafe (patch)
tree024ff59a43fb775105dd9936a094fb206725231e /app/helpers
parentc349200761bdbf5beac22648da07b0768addc4d6 (diff)
Adding public following and followers pages, fix #3
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/accounts_helper.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/helpers/accounts_helper.rb b/app/helpers/accounts_helper.rb
index 51fe6bc4e..8d303cb63 100644
--- a/app/helpers/accounts_helper.rb
+++ b/app/helpers/accounts_helper.rb
@@ -1,3 +1,5 @@
 module AccountsHelper
-
+  def pagination_options
+    { previous_label: "#{fa_icon('chevron-left')} Prev".html_safe, next_label: "Next #{fa_icon('chevron-right')}".html_safe, inner_window: 2 }
+  end
 end