aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorXinhui2016-10-11 12:04:46 +0200
committerXinhui2016-10-11 12:04:46 +0200
commit4655372a601bbdf90d352abe8fefed094b866d69 (patch)
tree6aebf15ad738bc26fb8a3f308a0d58f7b95c4861 /app/controllers
parent84fffe95839ebc80f99fa14c25e0646cafc11099 (diff)
downloadchouette-core-4655372a601bbdf90d352abe8fefed094b866d69.tar.bz2
Remove cancel sync link
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/line_referentials_controller.rb7
-rw-r--r--app/controllers/stop_area_referentials_controller.rb8
2 files changed, 0 insertions, 15 deletions
diff --git a/app/controllers/line_referentials_controller.rb b/app/controllers/line_referentials_controller.rb
index 4cd11b31b..fc4ab3cf5 100644
--- a/app/controllers/line_referentials_controller.rb
+++ b/app/controllers/line_referentials_controller.rb
@@ -12,13 +12,6 @@ class LineReferentialsController < BreadcrumbController
redirect_to resource
end
- # Todo
- # For testing, remove me
- def cancel_sync
- resource.last_sync.destroy
- redirect_to resource
- end
-
protected
def begin_of_chain
diff --git a/app/controllers/stop_area_referentials_controller.rb b/app/controllers/stop_area_referentials_controller.rb
index 5d66c8e90..5c87be43d 100644
--- a/app/controllers/stop_area_referentials_controller.rb
+++ b/app/controllers/stop_area_referentials_controller.rb
@@ -11,15 +11,7 @@ class StopAreaReferentialsController < BreadcrumbController
redirect_to resource
end
- # Todo
- # For testing, remove me
- def cancel_sync
- resource.last_sync.destroy
- redirect_to resource
- end
-
protected
-
def begin_of_chain
current_organisation
end