Welcome to mirror list, hosted at ThFree Co, Russian Federation.

repository_settings_redirect.rb « concerns « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0854c73a02fec2df6526d9c3ad09525c20ff8a90 (plain)
1
2
3
4
5
6
7
module RepositorySettingsRedirect
  extend ActiveSupport::Concern

  def redirect_to_repository_settings(project)
    redirect_to namespace_project_settings_repository_path(project.namespace, project)
  end
end