flyboy 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,7 @@
1
1
  .actions
2
+ - if flyboy.goal_path(@goal) != request.path
3
+ = read_button goal_path(@goal)
4
+
2
5
  - if can?(:create, @goal.tasks.new)
3
6
  = create_button new_goal_task_path(@goal), text: t("actions.goals.new_task")
4
7
 
@@ -1,7 +1,4 @@
1
1
  .actions
2
- - if can?(:read, @task.goal)
3
- = dorsale_button goal_path(@task.goal), text: "Retour au dossier", icon: :tasks
4
-
5
2
  - if can?(:update, @task)
6
3
  = update_button edit_task_path(@task)
7
4
 
@@ -1,3 +1,3 @@
1
1
  module Flyboy
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
Binary file