add tutorials and references to home page
[arvados.git] / apps / workbench / app / controllers / application_controller.rb
index 1cef3d947d6e2214761ecbd89709913f0e617de6..3cae2dcbd7021a164da41f583049584be632939d 100644 (file)
@@ -66,6 +66,12 @@ class ApplicationController < ActionController::Base
     end
   end
 
+  def render_content
+    if !@object
+      return render_not_found("object not found")
+    end
+  end
+
   def new
     @object = model_class.new
   end