Commit b78fd0c13088ce2c19d939a26a26e247ca5047ea

Authored by Robert Speicher
1 parent 21bfd1e7

Add github-markup gem

Gemfile
... ... @@ -45,6 +45,7 @@ gem "seed-fu"
45 45  
46 46 # Markdown to HTML
47 47 gem "redcarpet", "~> 2.1.1"
  48 +gem 'github-markup'
48 49  
49 50 # Servers
50 51 gem "thin"
... ...
Gemfile.lock
... ... @@ -178,6 +178,7 @@ GEM
178 178 gherkin (2.11.0)
179 179 json (>= 1.4.6)
180 180 git (1.2.5)
  181 + github-markup (0.7.4)
181 182 gitlab_meta (2.9)
182 183 grape (0.2.1)
183 184 hashie (~> 1.2)
... ... @@ -396,6 +397,7 @@ DEPENDENCIES
396 397 ffaker
397 398 foreman
398 399 git
  400 + github-markup
399 401 gitlab_meta (= 2.9)
400 402 gitolite!
401 403 grack!
... ...
app/controllers/refs_controller.rb
  1 +require 'github/markup'
  2 +
1 3 class RefsController < ApplicationController
2 4 include Gitlab::Encode
3 5 before_filter :project
... ...