Pass a deployment comment to the deployment form #17

merged 1 commit into from May 12, 2011


None yet

2 participants


I made a tiny change to scratch a itch I mentioned in the webistrano issue tracker:

In order to be able to pass a deployment comment to the deployment form, add the following ruby code after line 33 of /var/www/webistrano/app/controllers/deployments_controller.rb:

# Allow description url var to be passed in the URL
@deployment.description = params[:description]

Now the description url variable can be used to pre-fill the deployment comment, e.g. We do this to get some integration with the trac bug tracking software.

@jweiss jweiss merged commit e6f9c8f into peritor:master May 12, 2011
@jweiss jweiss added a commit that referenced this pull request May 12, 2011
@jweiss jweiss add test for pull request #17 beb2b4a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment