Skip to content
Snippets Groups Projects
Commit 5e74c5c4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'redirect-ci-page' into 'master'


Redirect old CI project route to GitLab project

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

See merge request !1629
parents fbd9d3ec 748631b5
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -7,6 +7,11 @@ module Ci
before_action :no_cache, only: [:badge]
protect_from_forgery
 
def show
# Temporary compatibility with CI badges pointing to CI project page
redirect_to namespace_project_path(project.gl_project.namespace, project.gl_project)
end
# Project status badge
# Image with build status for sha or ref
def badge
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