app/controllers/workarea/admin/releases_controller.rb in workarea-admin-3.4.14 vs app/controllers/workarea/admin/releases_controller.rb in workarea-admin-3.4.15
- old
+ new
@@ -44,10 +44,10 @@
end
end
def publish
self.current_release = nil
- @release.publish!
+ PublishRelease.perform_async(@release.id)
flash[:success] = t('workarea.admin.releases.flash_messages.published')
redirect_to return_to || release_path(@release)
end