Skip to content
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.

Commit

Permalink
Don't disregard the old 'next' boostrap option; that's also a valid r…
Browse files Browse the repository at this point in the history
…ef to install.
  • Loading branch information
benhoskings committed Nov 11, 2012
1 parent 5aa3485 commit d5b8a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/bootstrap_controller.rb
Expand Up @@ -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
Expand Down

0 comments on commit d5b8a97

Please sign in to comment.