|
|
|
@ -14,8 +14,7 @@ class EsignSettingsController < ApplicationController
|
|
|
|
prepend_before_action :maybe_redirect_com, only: %i[show]
|
|
|
|
prepend_before_action :maybe_redirect_com, only: %i[show]
|
|
|
|
|
|
|
|
|
|
|
|
before_action :load_encrypted_config
|
|
|
|
before_action :load_encrypted_config
|
|
|
|
authorize_resource :encrypted_config, parent: false, only: %i[new create]
|
|
|
|
authorize_resource :encrypted_config, parent: false
|
|
|
|
authorize_resource :encrypted_config, only: %i[update destroy show]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def show
|
|
|
|
def show
|
|
|
|
cert_data = @encrypted_config.value || {}
|
|
|
|
cert_data = @encrypted_config.value || {}
|
|
|
|
|