Commit b78fd0c13088ce2c19d939a26a26e247ca5047ea

Authored by Robert Speicher
1 parent 21bfd1e7

Add github-markup gem

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