diff options
author | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-12 19:29:24 +0300 |
---|---|---|
committer | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-12 19:29:24 +0300 |
commit | 4352ff0d446337b8718e9164d7fdac08fcc53d6f (patch) | |
tree | c7d9bc00ace70881371d8490d186f412b5964f3d /app/views/projects/blob | |
parent | 421ec6e089e161bc7a7db61336a17a3e776916f7 (diff) |
fixes frontend bug
Diffstat (limited to 'app/views/projects/blob')
-rw-r--r-- | app/views/projects/blob/_editor.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
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) |