Skip to content

Commit

Permalink
Merge branch 'release/0.6.15.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
kalashnikovisme committed Apr 24, 2016
2 parents 6620639 + ac704f9 commit 4b5c48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/decorators/logged_action_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class LoggedActionDecorator < ApplicationDecorator
delegate_all

def name
"#{object.user.decorate.short_name} #{object.record.decorate.name}"
"#{object.user.decorate.short_name} #{object.record.decorate.name}" if object
end

def user_short_name
Expand Down

0 comments on commit 4b5c48a

Please sign in to comment.