2018-09-14 05:42:05 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-03-03 17:41:15 +00:00
|
|
|
module RepositorySettingsRedirect
|
2017-02-21 21:37:00 +00:00
|
|
|
extend ActiveSupport::Concern
|
|
|
|
|
2018-08-08 06:17:43 +00:00
|
|
|
def redirect_to_repository_settings(project, anchor: nil)
|
|
|
|
redirect_to project_settings_repository_path(project, anchor: anchor)
|
2017-02-21 21:37:00 +00:00
|
|
|
end
|
|
|
|
end
|