about summary refs log tree commit diff
path: root/app/helpers/admin
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-12-06 19:41:57 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-12-06 11:41:57 +0100
commitb21db9bbde3784556a5861e2cdec0c8c2184c72e (patch)
tree5702878677aa85352185fd22e69fb10cd142d9ee /app/helpers/admin
parent42bcbd36b72c7ddc5ae1ecced09614863ca382bd (diff)
Using double splat operator (#5859)
Diffstat (limited to 'app/helpers/admin')
-rw-r--r--app/helpers/admin/filter_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/admin/filter_helper.rb b/app/helpers/admin/filter_helper.rb
index 73250cbf5..9443934b3 100644
--- a/app/helpers/admin/filter_helper.rb
+++ b/app/helpers/admin/filter_helper.rb
@@ -13,7 +13,7 @@ module Admin::FilterHelper
     link_to text, new_url, class: filter_link_class(new_class)
   end
 
-  def table_link_to(icon, text, path, options = {})
+  def table_link_to(icon, text, path, **options)
     link_to safe_join([fa_icon(icon), text]), path, options.merge(class: 'table-action-link')
   end