Skip to content

Commit

Permalink
Remove group_management_label Bento helpers
Browse files Browse the repository at this point in the history
Now that we are only using the new web interface, we want to get rid
of all the helpers only used with Bento.
  • Loading branch information
eduardoj committed Sep 2, 2019
1 parent d5e33e4 commit 71f6764
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/api/app/helpers/webui/group_helper.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
module Webui::GroupHelper
def group_management_label
if User.admin_session?
link_to('Group Management', groups_path)
else
'Group Management'
end
end

def group_with_icon(group_title)
group = Group.find_by(title: group_title)
user_image_tag(group, alt: group_title) + ' ' + link_to(group_title, group_show_path(group))
Expand Down

0 comments on commit 71f6764

Please sign in to comment.