提交 c9165f84 编写于 作者: M Mike Greiling 提交者: Alfredo Sumaran

remove unused helper method

上级 759e37f3
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册