0
0
Fork 0

Add page for authorizing/rejecting follow requests

This commit is contained in:
Eugen Rochko 2016-12-23 00:04:52 +01:00
parent 3c841c7306
commit b302b9202b
14 changed files with 99 additions and 10 deletions

View file

@ -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