Skip to content
Snippets Groups Projects

Sort stages alphabetically in manage, highlight blank stage names

Merged Teal requested to merge sort-stages into main
2 files
+ 7
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -65,7 +65,7 @@ module Admin
end
def select_relevant_stages
@stages = @conference.stages
@stages = @conference.stages.order(:name)
end
def update_relevant_stages
@@ -74,7 +74,7 @@ module Admin
if @conference.save
redirect_to admin_conferences_path, notice: "Relevant stages updated successfully."
else
@stages = @conference.stages
@stages = @conference.stages.order(:name)
render :select_relevant_stages
end
end
Loading