Skip to content

Commit

Permalink
using the forms action if there is "mass" as the current action. prov…
Browse files Browse the repository at this point in the history
…ides better crumbs fixes #228
  • Loading branch information
dogmatic69 committed Sep 6, 2010
1 parent d83677d commit 83932cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app_helper.php
Expand Up @@ -68,7 +68,7 @@ function breadcrumbs($view = array(), $seperator = ' :: ') {
'action' => false
)
),
str_replace('admin_', '', $view->action)
strstr($view->action, 'mass') === false ? str_replace('admin_', '', $view->action) : $view->params['form']['action']
);

if ($_prefix !== false) {
Expand Down

0 comments on commit 83932cb

Please sign in to comment.