diff options
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) | 
