mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 20:23:14 +08:00
Merge pull request #3067 from urbanrotnik/ur-sci-5379-clean-folder-info
Remove project_folder reference on project archive [SCI-5379]
This commit is contained in:
commit
3ad14e06b2
1 changed files with 1 additions and 0 deletions
|
@ -213,6 +213,7 @@ class ProjectsController < ApplicationController
|
||||||
next unless can_archive_project?(project)
|
next unless can_archive_project?(project)
|
||||||
|
|
||||||
project.transaction do
|
project.transaction do
|
||||||
|
project.project_folder = nil
|
||||||
project.archive!(current_user)
|
project.archive!(current_user)
|
||||||
log_activity(:archive_project, project)
|
log_activity(:archive_project, project)
|
||||||
counter += 1
|
counter += 1
|
||||||
|
|
Loading…
Reference in a new issue