From acf1ba5bb4d987012030de8978cc6930e1bee654 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Sun, 9 Mar 2014 04:21:59 -0400 Subject: [PATCH] Use action_name instead of URI path as the default breadcrumb page name. --- apps/workbench/app/controllers/application_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/workbench/app/controllers/application_controller.rb b/apps/workbench/app/controllers/application_controller.rb index e94428e92d..9cb17169ad 100644 --- a/apps/workbench/app/controllers/application_controller.rb +++ b/apps/workbench/app/controllers/application_controller.rb @@ -147,7 +147,8 @@ class ApplicationController < ActionController::Base def breadcrumb_page_name (@breadcrumb_page_name || - (@object.friendly_link_name if @object.respond_to? :friendly_link_name)) + (@object.friendly_link_name if @object.respond_to? :friendly_link_name) || + action_name) end def index_pane_list -- 2.30.2