diff --git a/app/controllers/libraries_controller.rb b/app/controllers/libraries_controller.rb index 27e814d7..82981e62 100644 --- a/app/controllers/libraries_controller.rb +++ b/app/controllers/libraries_controller.rb @@ -37,7 +37,7 @@ class LibrariesController < ApplicationController Libraries::SaveService.new(@library, current_user, form_params).call if with_publish? Libraries::SubmitService.new(@library).call - redirect_to publish_success_libraries_path + redirect_to publish_success_libraries_path(id: @library.id) else redirect_to library_path(id: @library.id) end @@ -61,7 +61,7 @@ class LibrariesController < ApplicationController Libraries::SaveService.new(@library, current_user, form_params).call if with_publish? Libraries::SubmitService.new(@library).call - redirect_to publish_success_libraries_path + redirect_to publish_success_libraries_path(id: @library.id) else redirect_to library_path(id: @library.id) end diff --git a/app/views/libraries/publish_success.html.erb b/app/views/libraries/publish_success.html.erb index 372053e6..1f6ef18b 100644 --- a/app/views/libraries/publish_success.html.erb +++ b/app/views/libraries/publish_success.html.erb @@ -3,11 +3,11 @@
恭喜!
-文档上传成功
+提交成功
通过平台管理员审核后,即可公开显示
+平台正在审核您的申请,审核结果将以平台消息的形式通知您
- 私有化原因 - (请按照提示修改,并在完成编辑后重新提交) - - -
<%= apply.updated_at.strftime('%Y-%m-%d %H:%M') %>
-<%= apply.reason %>
-