|
|
@ -5,6 +5,7 @@ class AttachmentsController < ApplicationController
|
|
|
|
before_action :require_login, :check_auth, except: [:show]
|
|
|
|
before_action :require_login, :check_auth, except: [:show]
|
|
|
|
before_action :find_file, only: %i[show destroy]
|
|
|
|
before_action :find_file, only: %i[show destroy]
|
|
|
|
before_action :attachment_candown, only: [:show]
|
|
|
|
before_action :attachment_candown, only: [:show]
|
|
|
|
|
|
|
|
skip_before_action :check_sign, only: [:show]
|
|
|
|
|
|
|
|
|
|
|
|
include ApplicationHelper
|
|
|
|
include ApplicationHelper
|
|
|
|
|
|
|
|
|
|
|
|