diff options
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/node_actions_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/node_actions_helper.rb b/app/helpers/node_actions_helper.rb index c4de46cc..19385543 100644 --- a/app/helpers/node_actions_helper.rb +++ b/app/helpers/node_actions_helper.rb | |||
| @@ -221,8 +221,8 @@ module NodeActionsHelper | |||
| 221 | end | 221 | end |
| 222 | 222 | ||
| 223 | def subject_ref action | 223 | def subject_ref action |
| 224 | action.node ? link_to(h(action.subject_name), node_path(action.node)) | 224 | name = action.subject_name.presence || t("admin.common.no_title") |
| 225 | : h(action.subject_name) | 225 | action.node ? link_to(h(name), node_path(action.node)) : h(name) |
| 226 | end | 226 | end |
| 227 | 227 | ||
| 228 | def asset_ref action | 228 | def asset_ref action |
