Sha256: cd62f323feb5d5f2c9fea6af2f3aa2d0ab503e97b19fccc15c38cbee1c8a88f6
Contents?: true
Size: 453 Bytes
Versions: 13
Compression:
Stored size: 453 Bytes
Contents
- asset ||= instance_variable_get("@" + controller.controller_name.singularize) - asset.tasks.each do |task| - if task.completed_at? = render "tasks/completed", completed: task, bucket: nil - elsif task.my?(current_user) = render "tasks/pending", pending: task, bucket: nil - elsif task.assigned_by?(current_user) = render "tasks/assigned", assigned: task, bucket: nil - else = render "tasks/related", related: task, bucket: nil
Version data entries
13 entries across 13 versions & 1 rubygems