projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add tutorials and references to home page
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
application_controller.rb
diff --git
a/apps/workbench/app/controllers/application_controller.rb
b/apps/workbench/app/controllers/application_controller.rb
index 1cef3d947d6e2214761ecbd89709913f0e617de6..3cae2dcbd7021a164da41f583049584be632939d 100644
(file)
--- a/
apps/workbench/app/controllers/application_controller.rb
+++ b/
apps/workbench/app/controllers/application_controller.rb
@@
-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