diff options
| -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 f63abf685..6f398b7f5 100644 --- a/app/controllers/referentials_controller.rb +++ b/app/controllers/referentials_controller.rb @@ -17,8 +17,8 @@ class ReferentialsController < ChouetteController success.html do if @referential.created_from_id.present? flash[:notice] = t('notice.referentials.duplicate') - redirect_to workbench_path(@referential.workbench) end + redirect_to workbench_path(@referential.workbench) end failure.html do Rails.logger.info "Can't create Referential : #{@referential.errors.inspect}" |
