Skip to content
Snippets Groups Projects
Commit b9565fe7 authored by Jasper Maes's avatar Jasper Maes
Browse files

Rails5: fix delete blob

parent 80351981
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -9,7 +9,7 @@ class Projects::BlobController < Projects::ApplicationController
include ActionView::Helpers::SanitizeHelper
prepend_before_action :authenticate_user!, only: [:edit]
 
before_action :set_request_format, only: [:edit, :show, :update]
before_action :set_request_format, only: [:edit, :show, :update, :destroy]
before_action :require_non_empty_project, except: [:new, :create]
before_action :authorize_download_code!
 
Loading
Loading
---
title: 'Rails5: fix delete blob'
merge_request: 22456
author: Jasper Maes
type: other
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment