mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-01 06:41:41 +00:00
Refactor embedding to a Concern
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class ShopsController < BaseController
|
||||
layout 'darkswarm'
|
||||
include EmbeddedPages
|
||||
|
||||
before_action :enable_embedded_shopfront
|
||||
layout 'darkswarm'
|
||||
|
||||
def index
|
||||
@enterprises = ShopsListService.new.open_shops
|
||||
|
||||
Reference in New Issue
Block a user