consul/consul

View on GitHub
app/helpers/imageables_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
module ImageablesHelper
  def can_destroy_image?(imageable)
    imageable.image.present? && can?(:destroy, imageable.image)
  end
end