From d5b8a97cf80204131583dbfce7dc987e40e5fcb3 Mon Sep 17 00:00:00 2001 From: Ben Hoskings Date: Sun, 11 Nov 2012 17:02:34 +1100 Subject: [PATCH] Don't disregard the old 'next' boostrap option; that's also a valid ref to install. --- app/controllers/bootstrap_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/bootstrap_controller.rb b/app/controllers/bootstrap_controller.rb index ca4ffcc..7e24bab 100644 --- a/app/controllers/bootstrap_controller.rb +++ b/app/controllers/bootstrap_controller.rb @@ -2,7 +2,7 @@ class BootstrapController < ApplicationController def up # This param used to be comma-separated options ('hard'/'next') # but is now a ref, defaulting to 'master'. - ref = ((params[:ref] || '').split(',').push('master') - %w[hard next]).first + ref = ((params[:ref] || '').split(',').push('master') - %w[hard]).first render action: 'up', layout: false, locals: {ref: ref} end