Fix groups index page

This commit is contained in:
Matt-Yorkley
2019-05-09 10:25:26 +01:00
parent aca1f92060
commit 4ec46c2db6
6 changed files with 53 additions and 20 deletions

View File

@@ -1,10 +1,6 @@
class GroupsController < BaseController
layout 'darkswarm'
def index
@groups = EnterpriseGroup.on_front_page.by_position
end
def show
enable_embedded_shopfront
@hide_menu = true if @shopfront_layout == 'embedded'