diff options
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/node_actions_helper.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/app/helpers/node_actions_helper.rb b/app/helpers/node_actions_helper.rb index ef42b75..55ca982 100644 --- a/app/helpers/node_actions_helper.rb +++ b/app/helpers/node_actions_helper.rb | |||
| @@ -19,9 +19,6 @@ module NodeActionsHelper | |||
| 19 | private | 19 | private |
| 20 | 20 | ||
| 21 | def actor_ref action | 21 | def actor_ref action |
| 22 | if action.user && respond_to?(:current_user) && action.user == current_user | ||
| 23 | return t("node_actions.actor_self") | ||
| 24 | end | ||
| 25 | action.user ? link_to(h(action.actor_name), admin_log_path(:user_id => action.user_id)) | 22 | action.user ? link_to(h(action.actor_name), admin_log_path(:user_id => action.user_id)) |
| 26 | : h(action.actor_name) | 23 | : h(action.actor_name) |
| 27 | end | 24 | end |
