mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
Added matomo script and added a new matomo settings menu entry under configuration. Improved organization of en.yml by grouping configuration screens.
14 lines
291 B
Ruby
14 lines
291 B
Ruby
module Admin
|
|
class MatomoSettingsController < Spree::Admin::BaseController
|
|
def update
|
|
Spree::Config.set(params[:preferences])
|
|
|
|
respond_to do |format|
|
|
format.html {
|
|
redirect_to main_app.edit_admin_matomo_settings_path
|
|
}
|
|
end
|
|
end
|
|
end
|
|
end
|