diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-02-27 12:35:31 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-02-27 12:35:31 +0000 |
commit | d06f4d013d32465d63c33f436337064d88ccbf6c (patch) | |
tree | c0e1b645f98a9607ecb1d3667795a6c3d304d107 /app/views/wiki | |
parent | 2d115bbe707182293cd2dee6878fc0c696900736 (diff) | |
download | redmine-d06f4d013d32465d63c33f436337064d88ccbf6c.tar.gz redmine-d06f4d013d32465d63c33f436337064d88ccbf6c.zip |
Extracts a diff helper from the WikiDiff class.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4952 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/wiki')
-rw-r--r-- | app/views/wiki/diff.rhtml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/wiki/diff.rhtml b/app/views/wiki/diff.rhtml index 264c677b0..11afc5930 100644 --- a/app/views/wiki/diff.rhtml +++ b/app/views/wiki/diff.rhtml @@ -12,6 +12,6 @@ <em>(<%= @diff.content_to.author ? @diff.content_to.author.name : "anonyme" %>, <%= format_time(@diff.content_to.updated_on) %>)</em> </p> -<hr /> - -<%= html_diff(@diff) %> +<div class="text-diff"> +<%= @diff.to_html %> +</div> |