app/helpers/workarea/admin/activities_helper.rb in workarea-admin-3.5.0.beta.1 vs app/helpers/workarea/admin/activities_helper.rb in workarea-admin-3.5.0
- old
+ new
@@ -54,10 +54,10 @@
local_time(value, :time_only)
end
end
def activity_model_name(entry)
- entry.audited_type.gsub(/Workarea::/, '').gsub(/::/, ' ')
+ entry.audited_type.gsub(/Workarea::/, '').gsub(/::/, ' ').titleize
end
def link_to_restore_for(entry)
if entry.restorable? && current_user.can_restore?
link_to(