fix a commit link in Firefox

This commit is contained in:
Alexander Machehin 2015-05-22 22:08:38 +05:00
parent 2e13918550
commit f184b2c5a6
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@
=< diff_file_icon(diff).html_safe
=< get_filename_in_diff(diff, diff.a_path)
- if diff.b_path.present?
button.btn.btn-link.pull-right
= link_to "view file @ #{shortest_hash_id(commit_id)}", blob_path(@project, commit_id, diff.b_path)
= link_to "view file @ #{shortest_hash_id(commit_id)}", blob_path(@project, commit_id, diff.b_path),
class: 'btn btn-link pull-right'
.clearfix
.diff_data.collapse id= diff_counter_content class= is_file_open