Skip to content

Commit 402020f

Browse files
authored
Merge pull request #1123 from pod4lib/rm-unused-action
Remove unused upload update action
2 parents e99c648 + a5f576b commit 402020f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

Diff for: app/controllers/uploads_controller.rb

-14
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,6 @@ def create
3838
end
3939
end
4040

41-
# PATCH/PUT /uploads/1
42-
# PATCH/PUT /uploads/1.json
43-
def update
44-
respond_to do |format|
45-
if @upload.update(upload_params)
46-
format.html { redirect_to [@organization, @upload], notice: 'Upload was successfully updated.', status: :see_other }
47-
format.json { render :show, status: :ok, location: [@organization, @upload] }
48-
else
49-
format.html { render :edit }
50-
format.json { render json: @upload.errors, status: :unprocessable_entity }
51-
end
52-
end
53-
end
54-
5541
# DELETE /uploads/1
5642
# DELETE /uploads/1.json
5743
def destroy

0 commit comments

Comments
 (0)