Skip to content
Snippets Groups Projects
Commit 06afaa91 authored by Robert Speicher's avatar Robert Speicher
Browse files

Merge branch 'mirror-empty-repo' into 'master'

Don't redirect away from Mirror Repository settings when repo is empty

Fixes #217

See merge request !135
parents 8285029d 34f610fb
No related branches found
No related tags found
3 merge requests!8889WIP: Port of 25624-anticipate-obstacles-to-removing-turbolinks to EE.,!7795Asciidoctor plantuml,!7793Add support for PlantUML diagrams in Asciidoc.
Loading
Loading
@@ -2,6 +2,7 @@ v 8.5.0 (unreleased)
 
v 8.4.2
- Elasticsearch indexer performance improvements
- Don't redirect away from Mirror Repository settings when repo is empty.
 
v 8.4.1
- No EE-specific changes
Loading
Loading
class Projects::MirrorsController < Projects::ApplicationController
# Authorize
before_action :require_non_empty_project
before_action :authorize_admin_project!, except: [:update_now]
before_action :authorize_push_code!, only: [:update_now]
 
Loading
Loading
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