diff options
author | Phil Hughes <me@iamphill.com> | 2017-03-29 11:52:56 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-03-30 10:34:01 +0300 |
commit | c71831e80c2bf8044697414edff3fb6f1c09579e (patch) | |
tree | b7797f419eb0d954c2b32e46b094c982efb2d4e6 /app/models/blob.rb | |
parent | 91f43587a8c05a5c2955f0b5c464f03688552cb6 (diff) |
Added worksheets support to notebook viewer
Updated some Ruby code based on comments
Diffstat (limited to 'app/models/blob.rb')
-rw-r--r-- | app/models/blob.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/blob.rb b/app/models/blob.rb index 5b71ac21cc0..95d2111a992 100644 --- a/app/models/blob.rb +++ b/app/models/blob.rb @@ -47,7 +47,7 @@ class Blob < SimpleDelegator end def ipython_notebook? - text? && language && language.name == 'Jupyter Notebook' + text? && language&.name == 'Jupyter Notebook' end def size_within_svg_limits? |