Commit ea88ac64ec1c699beed96f3bce82c3940699c160

Authored by Russell Osborne
1 parent 8a982220
Exists in master and in 1 other branch production

Fix bitbucket link to bitbucket source.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/decorators/backtrace_line_decorator.rb
... ... @@ -78,7 +78,7 @@ class BacktraceLineDecorator < Draper::Decorator
78 78  
79 79 def link_to_bitbucket(app, text = nil)
80 80 return unless app.bitbucket_repo?
81   - href = "%s#cl-%s" % [app.bitbucket_url_to_file(decorated_path + file_name), number]
  81 + href = "%s#%s-%s" % [app.bitbucket_url_to_file(decorated_path + file_name), file_name , number]
82 82 h.link_to(text || file_name, href, :target => '_blank')
83 83 end
84 84  
... ...