mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-17 14:46:00 +08:00
26 lines
619 B
Ruby
26 lines
619 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Users
|
|
module Settings
|
|
module Account
|
|
class AddonsController < ApplicationController
|
|
before_action :set_breadcrumbs_items, only: %i(index)
|
|
layout 'fluid'
|
|
|
|
def index
|
|
@label_printer_any = LabelPrinter.any?
|
|
end
|
|
|
|
private
|
|
|
|
def set_breadcrumbs_items
|
|
@breadcrumbs_items = []
|
|
@breadcrumbs_items.push({
|
|
label: t('breadcrumbs.addons'),
|
|
url: addons_path
|
|
})
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|