diff options
| author | Guillaume | 2017-09-28 13:55:46 +0200 |
|---|---|---|
| committer | Guillaume | 2017-09-28 13:55:46 +0200 |
| commit | 98bb8a1a9b763d30800ed394c3950ba93242d114 (patch) | |
| tree | 805e8aa6cc750ef74aaabd90d471f9b25f2e4cff /lib | |
| parent | 2867f7b992ea38934f69e86dd8d6dc9cc95b0afe (diff) | |
| parent | 689a8f7c89ea0841fee1e2da97dacf98ff458104 (diff) | |
| download | chouette-core-98bb8a1a9b763d30800ed394c3950ba93242d114.tar.bz2 | |
Merge branch 'master' into 4466-compliance_check_sets
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/stif/permission_translator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stif/permission_translator.rb b/lib/stif/permission_translator.rb index d8f898b62..095f726bd 100644 --- a/lib/stif/permission_translator.rb +++ b/lib/stif/permission_translator.rb @@ -20,6 +20,7 @@ module Stif connection_links calendars footnotes + imports journey_patterns referentials routes @@ -34,7 +35,6 @@ module Stif end def destructive_permissions_for(models) - @__destructive_permissions_for__ ||= models.product( %w{create destroy update} ).map{ |model_action| model_action.join('.') } end |
