Fix: undefined method 'touch' for Grit::Commit

This commit is contained in:
Vokhmin Alexey V 2013-03-21 22:37:22 +04:00
parent 96698b4195
commit 1574595cab
1 changed files with 9 additions and 0 deletions

View File

@ -1,5 +1,14 @@
# -*- encoding : utf-8 -*-
module Grit
class Commit
# Fix: NoMethodError: undefined method 'touch' for Grit::Commit
# see: model Comment belongs_to :commentable
def touch
true
end
end
class Blob
include Linguist::BlobHelper