Commit 5f1a348e authored by Douwe Maan's avatar Douwe Maan

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

parent aa2f58eb
v 8.5.0 (unreleased)
- Don't redirect away from Mirror Repository settings when repo is empty.
v 8.4.1
- No EE-specific changes
......
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]
......
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