summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2016-12-19 11:12:30 -0600
committerAlfredo Sumaran <alfredo@gitlab.com>2016-12-21 02:36:05 -0500
commitc9165f845974134917927aa174a214a334d264fe (patch)
treeda726afef3532f9ed7f4cff0a5edc6477eabcdc8
parent759e37f3b192d791e32bda795f4731b29c17d552 (diff)
downloadgitlab-ce-c9165f845974134917927aa174a214a334d264fe.tar.gz
remove unused helper method
-rw-r--r--app/helpers/commits_helper.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/app/helpers/commits_helper.rb b/app/helpers/commits_helper.rb
index f1897119e20..e9461b9f859 100644
--- a/app/helpers/commits_helper.rb
+++ b/app/helpers/commits_helper.rb
@@ -194,20 +194,6 @@ module CommitsHelper
end
end
- def fork_path_url(continue_to_path, message: nil)
- notice = edit_in_new_fork_notice
- notice << " #{message}" unless message.nil?
-
- continue_params = {
- to: continue_to_path,
- notice: notice,
- notice_now: edit_in_new_fork_notice_now
- }
- namespace_project_forks_path(@project.namespace, @project,
- namespace_key: current_user.namespace.id,
- continue: continue_params)
- end
-
def view_file_btn(commit_sha, diff_new_path, project)
link_to(
namespace_project_blob_path(project.namespace, project,