aboutsummaryrefslogtreecommitdiffstats
path: root/app/policies
diff options
context:
space:
mode:
authorXinhui2017-10-20 15:37:43 +0200
committerXinhui2017-10-20 15:39:31 +0200
commit3d1a9601cac27dfb6b74c5f53e9042c246296928 (patch)
treeca68c66eb3d42dee4481197bd306f405c0a2fc3a /app/policies
parentfccf690adb8769dc5050fa231a961b5e48146848 (diff)
downloadchouette-core-3d1a9601cac27dfb6b74c5f53e9042c246296928.tar.bz2
Breadcrumb for referential_stop_areas
Diffstat (limited to 'app/policies')
-rw-r--r--app/policies/route_policy.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/policies/route_policy.rb b/app/policies/route_policy.rb
index 4e4157c87..7e9fe251a 100644
--- a/app/policies/route_policy.rb
+++ b/app/policies/route_policy.rb
@@ -7,7 +7,6 @@ class RoutePolicy < ApplicationPolicy
def create?
!archived? && organisation_match? && user.has_permission?('routes.create')
- true
end
def destroy?