about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-12-23 00:04:52 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-12-23 00:04:52 +0100
commitb302b9202b17abe9834460acf589b512579766d6 (patch)
tree927362d8752727f32e93c733a7cba573608ede70 /app/helpers
parent3c841c73062a43a634ff7407ef3e6c84c5510c96 (diff)
Add page for authorizing/rejecting follow requests
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/admin/accounts_helper.rb4
-rw-r--r--app/helpers/follow_requests_helper.rb2
2 files changed, 4 insertions, 2 deletions
diff --git a/app/helpers/admin/accounts_helper.rb b/app/helpers/admin/accounts_helper.rb
index 57cd972fa..c539229b3 100644
--- a/app/helpers/admin/accounts_helper.rb
+++ b/app/helpers/admin/accounts_helper.rb
@@ -9,7 +9,7 @@ module Admin::AccountsHelper
     link_to text, filter_params(more_params), class: params.merge(more_params).compact == params.compact ? 'selected' : ''
   end
 
-  def table_link_to(icon, text, path)
-    link_to safe_join([fa_icon(icon), text]), path, class: 'table-action-link'
+  def table_link_to(icon, text, path, options = {})
+    link_to safe_join([fa_icon(icon), text]), path, options.merge(class: 'table-action-link')
   end
 end
diff --git a/app/helpers/follow_requests_helper.rb b/app/helpers/follow_requests_helper.rb
new file mode 100644
index 000000000..cfd350e53
--- /dev/null
+++ b/app/helpers/follow_requests_helper.rb
@@ -0,0 +1,2 @@
+module FollowRequestsHelper
+end