Module: LatoSpaces::GroupsHelper

Includes:
MembershipsHelper
Defined in:
app/helpers/lato_spaces/groups_helper.rb

Instance Method Summary collapse

Methods included from MembershipsHelper

#lato_spaces_membership_actions, #lato_spaces_membership_user_infos

Instance Method Details

#lato_spaces_group_actions(group) ⇒ Object



5
6
7
8
9
# File 'app/helpers/lato_spaces/groups_helper.rb', line 5

def lato_spaces_group_actions(group)
  (:div, class: 'btn-group btn-group-sm') do
    concat link_to(I18n.t('lato_spaces.cta_view'), lato_spaces.groups_show_path(group), class: 'btn btn-primary')
  end
end