diff --git a/lib/dmpopidor/controllers/plans.rb b/lib/dmpopidor/controllers/plans.rb index b5a0bc3..a091ac5 100644 --- a/lib/dmpopidor/controllers/plans.rb +++ b/lib/dmpopidor/controllers/plans.rb @@ -107,7 +107,7 @@ @plan = Plan.find(params[:id]) authorize @plan @phase_options = @plan.phases.order(:number).pluck(:title, :id) - @phase_options.unshift([_('All'), nil]) + @phase_options.unshift([_('All'), nil]) unless @phase_options.length < 2 @export_settings = @plan.settings(:export) render "download" end