Permalink
Browse files

Don't disregard the old 'next' boostrap option; that's also a valid r…

…ef to install.
  • Loading branch information...
1 parent 5aa3485 commit d5b8a97cf80204131583dbfce7dc987e40e5fcb3 @benhoskings committed Nov 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit d5b8a97

Please sign in to comment.