projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add folders page, backed by groups.
[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 2e3a59624117b8a782b220de2ff73c90f76b1cee..169f3042b1c525d9ce014968355cb2bb199373c2 100644
(file)
--- a/
apps/workbench/app/controllers/application_controller.rb
+++ b/
apps/workbench/app/controllers/application_controller.rb
@@
-170,6
+170,10
@@
class ApplicationController < ActionController::Base
controller_name.classify.constantize
end
+ def model_class_for_display
+ model_class.to_s
+ end
+
def breadcrumb_page_name
(@breadcrumb_page_name ||
(@object.friendly_link_name if @object.respond_to? :friendly_link_name) ||