Use markdown to render the project description.

This commit is contained in:
Ariejan de Vroom 2012-03-14 12:34:03 +02:00
parent b27f8fd503
commit 317963b1ab
1 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,8 @@
%span.add-on git clone
= text_field_tag :project_clone, @project.url_to_repo, :class => "xlarge one_click_select git_clone_url"
= simple_format @project.description
- if @project.description.present?
= markdown @project.description
- unless @events.blank?
%h5.cgray Recent Activity
.content_list= render @events