Sha256: 565e45a1fd7876855eae3f8e92cdd19f6382c6f55676b70b4e7532b6ff605dbc
Contents?: true
Size: 478 Bytes
Versions: 27
Compression:
Stored size: 478 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
27 entries across 27 versions & 2 rubygems