Commit 3640a230 authored by jz143's avatar jz143

fixes incorrect redirect after deleting an app version

parent bb5c2a82
...@@ -107,7 +107,7 @@ class AppFilesController < ApplicationController ...@@ -107,7 +107,7 @@ class AppFilesController < ApplicationController
authorize @app_file authorize @app_file
@app_file.destroy @app_file.destroy
respond_to do |format| respond_to do |format|
format.html { redirect_to app_app_files_url(@app_file), notice: 'App file was successfully destroyed.' } format.html { redirect_to app_app_files_url(@app_file.app), notice: 'App file was successfully destroyed.' }
format.json { head :no_content } format.json { head :no_content }
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment