diff options
author | Ben Harris <ben@tilde.team> | 2022-01-31 14:00:13 -0500 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2022-01-31 14:00:13 -0500 |
commit | c95a61fc056f6a2d7fdb82f9288948a890a3bac5 (patch) | |
tree | ac830576036bdc54d742668345680e452af69b99 /app/helpers/application_helper.rb | |
parent | c5b9fe77a8a0e1c2e6a051b700c5a5d4b98ff6fb (diff) |
switch to table, add total counts
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 15b06f0..f61b82a 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,4 +1,7 @@ # frozen_string_literal: true module ApplicationHelper + def is_active(action) + params[:action] == action ? "current" : nil + end end |