Commit fbb0f712 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'rails5-fix-delete-blob' into 'master'

Rails5: fix delete blob

See merge request gitlab-org/gitlab-ce!22456
parents c50b0491 b9565fe7
...@@ -9,7 +9,7 @@ class Projects::BlobController < Projects::ApplicationController ...@@ -9,7 +9,7 @@ class Projects::BlobController < Projects::ApplicationController
include ActionView::Helpers::SanitizeHelper include ActionView::Helpers::SanitizeHelper
prepend_before_action :authenticate_user!, only: [:edit] 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 :require_non_empty_project, except: [:new, :create]
before_action :authorize_download_code! before_action :authorize_download_code!
......
---
title: 'Rails5: fix delete blob'
merge_request: 22456
author: Jasper Maes
type: other
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