diff options
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/admin/accounts_helper.rb | 4 | ||||
-rw-r--r-- | app/helpers/follow_requests_helper.rb | 2 |
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 |