From 5fc3ff98930f74a694d40cc3533138fb06964bf1 Mon Sep 17 00:00:00 2001 From: James Lopez Date: Thu, 8 Feb 2018 16:12:28 +0100 Subject: [PATCH] fix specs --- app/helpers/blob_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/blob_helper.rb b/app/helpers/blob_helper.rb index 3f187a41735..2822fa8144a 100644 --- a/app/helpers/blob_helper.rb +++ b/app/helpers/blob_helper.rb @@ -321,7 +321,7 @@ module BlobHelper button_tag edit_text, class: "#{common_classes} js-edit-blob-link-fork-toggler", - data: { action: 'edit', fork_path: fork_path } + data: { action: action, fork_path: fork_path } end def edit_button_tag(button_text, common_classes)