Found a bug in line 15 of notebooks_controller.rb. Not sure what the best way to fix it is.