diff --git a/app/controllers/experiments_controller.rb b/app/controllers/experiments_controller.rb index cf0375af4..e1f4345b4 100644 --- a/app/controllers/experiments_controller.rb +++ b/app/controllers/experiments_controller.rb @@ -68,8 +68,7 @@ class ExperimentsController < ApplicationController if @experiment.save flash[:success] = t('experiments.update.success_flash', experiment: @experiment.name) - - redirect_to project_path(@experiment.project) + redirect_to canvas_experiment_path(@experiment) else flash[:alert] = t('experiments.update.error_flash') redirect_to :back diff --git a/config/locales/en.yml b/config/locales/en.yml index 4c2a3a394..0ca267122 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -602,8 +602,8 @@ en: name_placeholder: 'My experiment' description: 'Description' edit: - modal_title: 'Edit experiment %{experiment}' - modal_create: 'Update experiment' + modal_title: 'Edit experiment details' + modal_create: 'Save' label_title: "Edit details" panel_label: 'Change details' add-description: 'Add description'