diff options
| author | Zog | 2018-04-27 10:35:19 +0200 | 
|---|---|---|
| committer | Johan Van Ryseghem | 2018-04-27 11:17:19 +0200 | 
| commit | e9f087ca379dd5b8f26dc96bcfb5d23cd5951662 (patch) | |
| tree | f9e7d3fbcd1bd25fb636ed36699136818313e34c /app/controllers/referentials_controller.rb | |
| parent | 5efc3e3b6ffb0625c05d8b692740a715e2f00925 (diff) | |
| download | chouette-core-e9f087ca379dd5b8f26dc96bcfb5d23cd5951662.tar.bz2 | |
Refs #6572; Fix referentials policies
Diffstat (limited to 'app/controllers/referentials_controller.rb')
| -rw-r--r-- | app/controllers/referentials_controller.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/controllers/referentials_controller.rb b/app/controllers/referentials_controller.rb index fe661651e..8addfbc32 100644 --- a/app/controllers/referentials_controller.rb +++ b/app/controllers/referentials_controller.rb @@ -31,7 +31,7 @@ class ReferentialsController < ChouetteController    end    def show -    resource.switch +    resource.switch if resource.ready?      show! do |format|        @referential = @referential.decorate()        @reflines = lines_collection.paginate(page: params[:page], per_page: 10) | 
