mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 21:21:50 +08:00
Enable showing Label preview even if Label template is disabled [SCI-9025]
This commit is contained in:
parent
504a0bee62
commit
0b4afdd9ad
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ class LabelTemplatesController < ApplicationController
|
|||
include InputSanitizeHelper
|
||||
include TeamsHelper
|
||||
|
||||
before_action :check_feature_enabled, except: :index
|
||||
before_action :check_feature_enabled, except: %i(index zpl_preview)
|
||||
before_action :load_label_templates, only: %i(index datatable)
|
||||
before_action :load_label_template, only: %i(show set_default update template_tags)
|
||||
before_action :check_view_permissions, except: %i(create duplicate set_default delete update)
|
||||
|
|
Loading…
Reference in a new issue