We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2690d7 commit ad36fb0Copy full SHA for ad36fb0
1 file changed
app/admin/observation.rb
@@ -59,7 +59,7 @@ def self.observations
59
if resource.update(user_type: :reviewer, validation_status: "QC2 in progress")
60
redirect_to new_admin_quality_control_path(quality_control: {reviewable_id: resource.id, reviewable_type: "Observation"}), notice: I18n.t("active_admin.observations_page.moved_qc_in_progress")
61
else
62
- redirect_to collection_path, notice: I18n.t("active_admin.observations_page.not_modified")
+ redirect_back_or_to collection_path, alert: I18n.t("active_admin.observations_page.not_modified")
63
end
64
65
0 commit comments