app/helpers/application_helper.rb in tawork-0.0.27 vs app/helpers/application_helper.rb in tawork-0.0.28
- old
+ new
@@ -15,12 +15,6 @@
creator: current_user,
parent_id: params[:parent_id]
)
end
end
-
- def link_to_trackable activity, path
- link = send(:"#{path}_path", (activity.trackable || "deleted-#{activity.trackable_id}"))
-
- link_to((activity.trackable.try(:title) || "[Deleted Page]"), link)
- end
end