Check for call_for_papers object.
When call_for_papers object is nil then the previous check throws an error for check at line no 16. So I modified the check to see that first the call_for papers object exsist for current conference object an the rest follow.
This commit is contained in:
parent
257226273b
commit
e51cf148d2
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
||||||
%b ID
|
%b ID
|
||||||
%th
|
%th
|
||||||
%b Title
|
%b Title
|
||||||
- if @conference.call_for_papers.rating != 0
|
- if !@conference.call_for_papers.blank? && @conference.call_for_papers.rating != 0
|
||||||
%th
|
%th
|
||||||
%b Rating
|
%b Rating
|
||||||
%th
|
%th
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue