fix: create before destroy on apps

This commit is contained in:
24c02 2025-11-24 19:50:37 -05:00
parent d3c88afc48
commit ec0cb69726

View file

@ -38,8 +38,8 @@ class DeveloperAppsController < ApplicationController
def destroy
app_name = @app.name
@app.destroy
@app.create_activity :destroy, owner: current_identity, parameters: { name: app_name }
@app.destroy
redirect_to developer_apps_path, notice: t(".success")
end