Wiki style: move styles to right place

This commit is contained in:
Valeriy Sizov 2012-10-17 15:17:27 +03:00
parent 607d8b7970
commit 31f1cebe4b
3 changed files with 14 additions and 16 deletions

View file

@ -176,6 +176,8 @@ module Gitlab
if commit = @project.commit(identifier)
link_to(identifier, project_commit_path(@project, commit), html_options.merge(title: CommitDecorator.new(commit).link_title, class: "gfm gfm-commit #{html_options[:class]}"))
end
rescue Grit::NoSuchPathError
nil
end
end
end