mirror of
https://github.com/System-End/identity-vault.git
synced 2026-04-19 23:22:50 +00:00
fix: create before destroy on apps
This commit is contained in:
parent
d3c88afc48
commit
ec0cb69726
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue