Rescue nil for slug_title
This commit is contained in:
parent
63284212e5
commit
da39a029c5
|
@ -34,7 +34,7 @@ class Diploma
|
||||||
end
|
end
|
||||||
|
|
||||||
def slug_title
|
def slug_title
|
||||||
self.school_name+' '+self.department+' '+self.degree
|
[self.school_name,self.department,self.degree].join(' ')
|
||||||
end
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
|
Loading…
Reference in New Issue