.actions - if can?(:update, @task) = update_button edit_task_path(@task) - if can?(:snooze, @task) = snooze_button snooze_task_path(@task) - if can?(:complete, @task) = complete_button complete_task_path(@task)