about summary refs log tree commit diff
path: root/app/helpers/admin
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/admin
parent3c841c73062a43a634ff7407ef3e6c84c5510c96 (diff)
Add page for authorizing/rejecting follow requests
Diffstat (limited to 'app/helpers/admin')
-rw-r--r--app/helpers/admin/accounts_helper.rb4
1 files changed, 2 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