Fix: undefined method 'touch' for Grit::Commit
This commit is contained in:
parent
96698b4195
commit
1574595cab
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue