From 4352ff0d446337b8718e9164d7fdac08fcc53d6f Mon Sep 17 00:00:00 2001 From: tiagonbotelho Date: Tue, 12 Jul 2016 17:29:24 +0100 Subject: [PATCH] fixes frontend bug --- app/views/projects/blob/_editor.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/blob/_editor.html.haml b/app/views/projects/blob/_editor.html.haml index ba3b3439e9b..ad3009f30ab 100644 --- a/app/views/projects/blob/_editor.html.haml +++ b/app/views/projects/blob/_editor.html.haml @@ -5,7 +5,7 @@ = ref %span.editor-file-name - if current_action?(:edit) || current_action?(:update) - = text_field_tag 'file_name', (params[:file_name] || @file_path), + = text_field_tag 'file_name', (params[:file_name] || @path), class: 'form-control new-file-name' - if current_action?(:new) || current_action?(:create)